Re: firefox ajax



Active Discovery Development wrote:

http_request.open("GET", url, false);

anyone knows why this line isnt working in firefox?
if i change it to true its working but i need to use false.

I am sure the open call works with false for the asynchronous argument. But Firefox does not fire onreadystatechange events in that case so you need to put your code processing the response after the send call.


--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.



Relevant Pages

  • Re: firefox ajax
    ... anyone knows why this line isnt working in firefox? ... Firefox knows. ... Open the Error Console to get detailed error messages. ... Unsolicited commercial email will be read at a cost of $500 per message. ...
    (microsoft.public.scripting.jscript)
  • Re: firefox ajax
    ... anyone knows why this line isnt working in firefox? ... But Firefox does not fire onreadystatechange events in that case so you ... need to put your code processing the response after the send call. ... just didnt know that processing the response after the send call will work. ...
    (microsoft.public.scripting.jscript)

Loading