473,405 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

onreadystatechange in Opera 8

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
hs******@iki.fi
http://hsivonen.iki.fi/
Jul 23 '05 #1
3 1347


Henri Sivonen wrote:
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?


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/
Jul 23 '05 #2


Martin Honnen wrote:
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.


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

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #3
In article <42***********************@newsread4.arcor-online.net>,
Martin Honnen <ma*******@yahoo.de> wrote:
Martin Honnen wrote:
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.


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


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
hs******@iki.fi
http://hsivonen.iki.fi/
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Krzysztof Kubiak | last post by:
I'm trying to make use of XMLHTTP object, but I've come across a problem. It seems that there is no way to create dynamic array of such XMLHTTP objects (to make several requests) and handle them...
7
by: Jeremy Gollehon | last post by:
Here is a simplified example of what I'm trying to understand. This works fine: --------------------------------------------------------------------------- window.open(sURL1,'Window')...
1
by: akhil.patel | last post by:
I realize that this may have been asked before, but I could not find a definitive answer. function loadXMLDoc(url, MyFunction) { // use native XMLHttpRequest object if (window.XMLHttpRequest)...
2
by: jhullu | last post by:
hello, I'm writing a program using XMLHttpRequest that works in the main case on IE and mozilla but this code works only on IE ... why ? probleme is located at mark 'HERE' at the end of code....
2
by: petermichaux | last post by:
Hi, I thought it is about time I tried writing some JavaScript with XMLHttpRequest instead of just using the Yahoo! UI library. The simple page below works in both Safari and Opera but I don't...
2
by: Peter Michaux | last post by:
Hi, I am trying out the Ajax timeout example in Flanagan's book p492. It works fine in Opera but in Firefox the the call to request.abort() doesn't stop onreadystatechange being called. I found...
10
by: HugeBob | last post by:
Hi All, I'm having a problem with a web app I'm writing. I have a form for which I'm going to validate one of the fields. I use AJAX to retrieve XML containing a list of valid entries. My app...
5
by: Heofz | last post by:
Hey all, I've been banging my head against a brick wall on this one for the last 12 hours, and the time has come for me to give up and consult the gurus on this one. The below URL contains a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.