I am getting no response from the $.getJSON
$.getJSON('http://maps.googleapis.com/maps/api/geocode/json?address=' + address +'&sensor=false',function(data){
var resultsArray = data;
});
Can anyone help?
I am getting no response from the $.getJSON
$.getJSON('http://maps.googleapis.com/maps/api/geocode/json?address=' + address +'&sensor=false',function(data){
var resultsArray = data;
});
Can anyone help?
You didn't provide much detail, but your problem is almost certainly your browser denying the cross-domain request (throwing an Access-Control-Allow-Origin
error).
Instead, use Google's Geocoding API. See this question for more details.