Response title
This is preview!
I'm trying to geocode an address, using the code below which I have copied from the Google maps api.
It doesn't produce any output whatsoever! I'm expecting it to print out the json data returned from google.
I'm wondering if "data" is a variable, or should I put some actual data there?
<script language="JavaScript" type="text/JavaScript">
$.get("http://maps.googleapis.com/maps/api/geocode/json",
{address:"201 Heeley Road, Selly Oak, Birmingham, united kingdom",sensor:"false"},
function(data){
document.write(data);
});
</script>
<script language="JavaScript" type="text/JavaScript">
$.get("http://maps.googleapis.com/maps/api/geocode/json",
{address:"201 Heeley Road, Selly Oak, Birmingham, united kingdom",sensor:"false"},
function(data){
document.write(data);
});
</script>
© 2013 jQuery Foundation
Sponsored by and others.