I would like to call and show a page from another domain to my domain using ajax/javascript. I would like to hide the original url of the page. (Example in the case of surveymoneky, I can load the survey page in my web site with out showing the surverymonkyes url.)
How can I do it ?
Thanks in advance..
Regards,
Sunil
Due to the SOP (same origin policy) implemented in browsers, you can only retrieve information from another domain using Ajax if the other domain allows that by setting the
Access-Control-Allow-Origin
response header to the domain where the request originated.