Results 1 to 5 of 5

Thread: XMLHTTPRequest in different browsers

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Question XMLHTTPRequest in different browsers

    From what I've understood, this will work in IE only. Is there any way I could allow for FireFox or Mozilla to possess the same functionality that XMLHTTPRequest offers?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Mozilla has support for XMLHttpRequest.

    See this script, which queries the Amazon web service in IE and Mozilla:
    http://www.nexgenmedia.net/gizmo/xbAmazonXMLRequest.js

    Note that my particular Mozilla doesn't run this for some reason. I don't know why. It claims that the XMLHttpRequest object is not initialized.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Haven´t tested it, but this seems to work
    http://www.scss.com.au/family/andrew...mlhttprequest/

    Also in the comments there is some interesting stuff for you I suppose.
    http://www.clagnut.com/blog/373/
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Safari supports this object too.

    Also, Mozilla supports document.load, which can do pretty much the same thing, but going by an official W3C Draft (DOM3 Load & Save).

    Finally, Mozilla supports access to web services via WSDL proxying, which means it fetches the descriptor and creates a JavaScript object from it. I didn't manage to get this to work, though. Some security issues.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Thanks for the info, I didn't know about this.

Posting Permissions

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



Click Here to Expand Forum to Full Width