Connecting Tech Pros Worldwide Forums | Help | Site Map

onreadystatechange in Opera 8

Henri Sivonen
Guest
 
Posts: n/a
#1: Jul 23 '05
It seems to me that Opera 8 does not support onreadystatechange with
POST. Is there any way to know the status of a POST in Opera 8? Is there
any forward-compatible way to detect the non-support?

--
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Martin Honnen
Guest
 
Posts: n/a
#2: Jul 23 '05

re: onreadystatechange in Opera 8




Henri Sivonen wrote:
[color=blue]
> It seems to me that Opera 8 does not support onreadystatechange with
> POST. Is there any way to know the status of a POST in Opera 8? Is there
> any forward-compatible way to detect the non-support?[/color]

I have tried a small example where an XML DOM document is being posted
asynchronously and Opera 8.00/Win gives readyState as 3, then 4 so
onreadystatechange is being called twice.

What exactly have you tried and what fails?


--

Martin Honnen
http://JavaScript.FAQTs.com/
Martin Honnen
Guest
 
Posts: n/a
#3: Jul 23 '05

re: onreadystatechange in Opera 8




Martin Honnen wrote:
[color=blue]
> I have tried a small example where an XML DOM document is being posted
> asynchronously and Opera 8.00/Win gives readyState as 3, then 4 so
> onreadystatechange is being called twice.[/color]

Test case is here:
<http://www34.brinkster.com/libertydevelop/xml/test2005051501.html>


--

Martin Honnen
http://JavaScript.FAQTs.com/
Henri Sivonen
Guest
 
Posts: n/a
#4: Jul 23 '05

re: onreadystatechange in Opera 8


In article <42874f1f$0$14744$9b4e6d93@newsread4.arcor-online.net>,
Martin Honnen <mahotrash@yahoo.de> wrote:
[color=blue]
> Martin Honnen wrote:
>[color=green]
> > I have tried a small example where an XML DOM document is being posted
> > asynchronously and Opera 8.00/Win gives readyState as 3, then 4 so
> > onreadystatechange is being called twice.[/color]
>
> Test case is here:
> <http://www34.brinkster.com/libertydevelop/xml/test2005051501.html>[/color]

Thanks. It was my mistake. The real problem is that setRequestHeader is
not supported by Opera. I guess the app I'm working on is not going to
work Opera until this is fixed. I'm not going to move stuff that
naturally belongs in headers into payload just to work around an
incomplete impl. by one vendor.

--
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Closed Thread