[Javascript] Firefox 1.5+ and Ajax responses

Bosky, Dave Dave.Bosky at htcinc.net
Mon Oct 2 09:04:57 CDT 2006


Is Firefox case-sensitive? "request.readystate" works fine in Internet
Explorer. 
~Dave

-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of diego nunes
Sent: Monday, October 02, 2006 9:09 AM
To: [JavaScript List]
Subject: Re: [Javascript] Firefox 1.5+ and Ajax responses

On 10/2/06, Jonathan Buchanan <jonathan.buchanan at gmail.com> wrote:
> You have "request.readystate" in your code - shouldn't this be
> "request.readyState"?

    And, by the way, since you're using the check inside the object's
"readystatechange" event, you can check for "this.readyState" instead
of using the hard-coded name of the object. It would make your code
reusable without any modifications.

--
diego nunes
dnunes.com
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript

**********************************************************************
HTC Disclaimer:  The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.  Thank you.
**********************************************************************




More information about the Javascript mailing list