Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Thanked 0 Times in 0 Posts

    Problem with Firefox loading XML

    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


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


  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Between DC and Baltimore In a Cave
    Thanked 94 Times in 88 Posts
    JavaScript can not read XML files from other servers. You would need to use a JSON format with a script tag.

    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts