Grupos de Google ya no admite nuevas publicaciones ni suscripciones de Usenet. El contenido anterior sigue siendo visible.

firefox ajax

Visto 0 veces
Saltar al primer mensaje no leído

Active Discovery Development

no leída,
13 sept 2007, 5:25:2313/9/07
a
good day to everyone!

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.

anyone?


Dave Anderson

no leída,
13 sept 2007, 9:36:0113/9/07
a
"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.

Firefox knows. Open the Error Console to get detailed error messages. For
granular control over what is reported, consider installing the Console²
extension.
http://console2.mozdev.org/index.html


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.

Martin Honnen

no leída,
13 sept 2007, 11:26:5513/9/07
a
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/

Active Discovery Development

no leída,
13 sept 2007, 21:27:5813/9/07
a

"Martin Honnen" <maho...@yahoo.de> wrote in message
news:%23%231DJqh9...@TK2MSFTNGP04.phx.gbl...

> 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.
>

wow! it works! thanks for your help Martin!

i notice that firefox doesnt fire onreadystatechange when async is false, i
just didnt know that processing the response after the send call will work.
thanks for your help!

good day and good luck!


0 mensajes nuevos