...

View Full Version : Problem with Firefox loading XML



moneyconverter
12-14-2007, 08:21 PM
Hello there,

I've been trying to implement some new functionality on my site but I can only get it to work correctly in IE. Firefox simply refuses to behave so any help would be appreciated.

I'm offering users the ability to display a one-line currency exchange rate on their site by simply adding a link to a javascript file to their web page. The javascript file is responsible for loading an xml URI from my site and this appears to be where the problem lies. The load() method simply will not work on Firefox. I'm obviously missing something here.

The functionality I'm after can be viewed here

http://www.themoneyconverter.com/QuickRate.htm

and if anyone can show me how I can get it to work in Firefox I'd be extremely grateful.

Ta

A1ien51
12-14-2007, 08:47 PM
JavaScript can not read XML files from other servers. You would need to use a JSON format with a script tag.

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum