Posts by Marcos • 1 point
2 posts
-
0
votes1
answer267
viewsA: Use Ajax Json return in HTML
I think I’ve got a way... JAVASCRIPT var getMunic = function(select){ $.ajax({ url: "/city.json" + "?munic=" + select.value, method: "GET" }).done(function( munics ) { if(munics.length > 0){ var…
-
-1
votes1
answer267
viewsQ: Use Ajax Json return in HTML
Hi... I have the following codes HTML <div class="escolha"> <h5>ESCOLHA A CIDADE</h5> <select id="selectMunic" onchange="getMunic(this);"> </select> <div…