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. 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 ? Link to comment https://forums.phpfreaks.com/topic/44920-xmlhttprequest-problem/#findComment-219704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.