K
K
Hey Guys,
The problem i'm having is that our company is provided with a xml link.
My job is to create a javascript menu based on the information
retrieved from that link. We/I do not have access to MainServer1 as it
belongs to another company whoe provides us with the data. The issue
here is that the xml link and the XMLHttpRequest will not/dont sit on
the same server/domain.
MainServer1 ---- Server2 ---- Client
MainServer1 contains all the data/xml feed.
Server2 needs to connect to Server1 to build the relevant javascript
menu, which in turn is used by the client. so when the client clicks on
a menu link, the menu should then trigger a XMLHttpRequest which
connects to MainServer1 to get the data.
I can't seem to find a suitable work around, the error is "Permission
denied to call XMLHttpRequest.open".
Please note that could be "multiple Servers" that connect to
MainServer1 with their own javascript menus.
Does anybody out there have any solutions to this problem.
And oh yeah, the solution should be for both mozilla and ie.
All Help will be appreciated.
Thanks
Krishan
The problem i'm having is that our company is provided with a xml link.
My job is to create a javascript menu based on the information
retrieved from that link. We/I do not have access to MainServer1 as it
belongs to another company whoe provides us with the data. The issue
here is that the xml link and the XMLHttpRequest will not/dont sit on
the same server/domain.
MainServer1 ---- Server2 ---- Client
MainServer1 contains all the data/xml feed.
Server2 needs to connect to Server1 to build the relevant javascript
menu, which in turn is used by the client. so when the client clicks on
a menu link, the menu should then trigger a XMLHttpRequest which
connects to MainServer1 to get the data.
I can't seem to find a suitable work around, the error is "Permission
denied to call XMLHttpRequest.open".
Please note that could be "multiple Servers" that connect to
MainServer1 with their own javascript menus.
Does anybody out there have any solutions to this problem.
And oh yeah, the solution should be for both mozilla and ie.
All Help will be appreciated.
Thanks
Krishan