Posts by Alvaro Leonel • 41 points
2 posts
-
3
votes2
answers1267
viewsA: Variable declaration before the main() function and after the main() function in C
Not before or after, but outside or within the scope of the function. Outside the scope of a function they are called global variables and are accessible by all functions of the project. Within a…
-
1
votes1
answer2043
viewsA: Returning a Select option with Ajax
I believe you’re trying to do something like this. $(document).ready(function () { $.getJSON('estados_cidades.json', function (data) { $("#estados").append('<option value="">Escolha um…