you can't just do an ajax request to the host that differs from yours.
this is restricted by browsers due to security issues.

On Feb 18, 5:06 pm, Femtox <[email protected]> wrote:
> Hi to all!
>
> I'll try to make a post request with this jquery code:
>
> $.post('http://maps.google.com/maps/geo?
> output=json&oe=utf-8&q='+country
> +'&key=ABQIAAAAoJwDQJtae4kDnvLcY8Tb7BRucBZ2vcbFqf0OtqEnndlWxg075xRm75zdbMT2 
> rZ0TIztY6oF3-
> XZeVQ&mapclient=jsapi&hl=it',function(data,responseText){
>                 alert(responseText);
>                 alert(data)
>         });
>
> bu I don't get a response. If I try to go 
> tohttp://maps.google.com/maps/geo?output=json&oe=utf-8&q='+country+'&ke...
> I obtain a json response.
>
> Any idea?
>
> Thanks to all

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to