Quote:
Originally Posted by CygnetGames
Just a guess, but do you need the http:// to tell it to not look on your server?
So you would change:
Code:
var URL = "www.google.com";
to:
Code:
var URL = "http://www.google.com";
|
not sure this will work either ...
I think for security purposes it is stopped. AJAX works on the same domain only ( or at least when I tried to use xmlHttpRequest on other domain it failed with a security reason ). Using it with other domains allows scripting between different domains which is considered security hole.
Again - not 100% sure about that, but I think it is so! scripting between different domains is supposed be forbidden even when using pop-up, frames and iframes.
read this one, might be helpful:
Cross-Domain Proxy - Ajax Patterns