I\'m trying to get a currency rate with the Google Currency Calculator
using the following jquery (dummy) code:
$.getJSON(\"http://www.googl
Edit
I thought it was clear what the problem was but it seems it might not be so here goes. This error you're seeing is the server restricting your domain from accessing it's resources via ajax requests. This is standard JavaScript security - your script can only talk to the domain it originated from. Since your JavaScript was not loaded from Google's domains, it's not in the list of domains allowed to access the calculator API via ajax and that's why you see this error message.
Options for making cross domain requests with jQuery are outlined here. As I mentioned earlier, JSONP will only be a valid option if the server supports it because it must send back appropriately formatted JSON.
It might help if you provided links to the pages that you're referring to.
From the looks of things though, this API doesn't support JSONP (unless there is an undocumented parameter) which is pretty much your only option for cross-domain ajax requests in this case since you don't control the server and can't change the access control headers.
You might want to consider building a server-side resource that will access this API for you without being constrained by the JavaScript security model such as the PHP script here.