Answers for "ajax comet"

0

ajax comet

var url = 'http://www.geonames.org/postalCodeLookupJSON?postalcode=' 
    + $('#postalCode').val() + '&country=' 
    + $('#country').val() + '&callback=?'; 
$.getJSON(url, function(data) { 
    $('#placeName').val(data.postalcodes[0].placeName); 
});
Posted by: Guest on January-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language