Hi everybody,
I'm trying to call an url and get back the result.
the url is outside my domain, it's the geocoding service from google.
Here's a sample of an url: 
http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true

which component could be used to achieve this.

I've tried this code without success:

var iframe = new
qx.ui.embed.Iframe('http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true');
                                                                
iframe.addListener("load", function(e){
        alert(e.getData())                                      
}, this);
                                                                
but the event never get fired.

Thanks and Regards

PS: I don't like to show raw results to the user.

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/get-result-from-an-url-call-tp7580665.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to