Ajax call to controller that load Google Api


New member
Hi All,

I'm going to explain my situation because I do not what else try. I'm using Grails and as MVC model all the logical behaviour is done in the controller. Also I have a page that if I do a click on a particular zone an Ajax call from javascript do a call to my controller to print a chart using Google Charts (if since my controller I do a call to the Google API directly no problem occurs). The problem is that javascript not allow execute the ajaax response because, I suppose, that Google does not like to be called his api from a third (a cross-site scripting) and therefore does not leave do it.

Any ideas? Are there somebody that something similar occurs with the Google API, eg: Google Maps or similar.

Thank you very much in advance!