Return to Snippet

Revision: 41350
at February 16, 2011 23:35 by vriesdewie


Initial Code
1. Create javascript file on the domain you want to address
2. Add methods to this script that perform the desired functionality (for example reading an xml file or otherwise) and return the results.
3. Include this javascript file with script tags in the HTML file on the other domain.
4. Add the necessary calls to the Javascript methods in the HTML

Initial URL


Initial Description
Cross domain issues occur when trying to read files such as .xml files of one domain in an other domain (two different websites, ie different IP:Port)

Initial Title
Cross Domain Solution

Initial Tags
javascript

Initial Language
JavaScript