sebastiano Posted March 30, 2007 Share Posted March 30, 2007 i wonder can this function used to open a site ? is this code works? <script language="javascript"> var x = new XMLHttpRequest(); x.open("GET","http://webservices.realtimeforex.com/webservice/live-currency?instruments=EUR-USD;GBP-USD;USD-CHF;EUR-GBP;GBP-CHF;EUR-CHF;&content=bigTable;"); x.send(null); y=x.responseText; document.write(y); </script> tha y variabel doesn't show anything. i wonder if that code is wrong. cause if you just type that url address, it works. Quote Link to comment https://forums.phpfreaks.com/topic/44920-xmlhttprequest-problem/ Share on other sites More sharing options...
MadTechie Posted April 2, 2007 Share Posted April 2, 2007 i think you missed the point.. what you trying to do ? Quote Link to comment https://forums.phpfreaks.com/topic/44920-xmlhttprequest-problem/#findComment-219704 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.