Possible Duplicate:
Cross Domain Ajax Request with JQuery/PHP
I hope you can help I have a php page on a subdomain which onclick needs to execute a PHP script on the main domain with a GET request. For some reason
$.get("http://www.domain.com/page", {param: param}, function(data){alert(data);});
Is returning a 404 error. The page is definiately there and will run when the url is entered directed.
Any help would be much appreciated. Thanks Mark