[Javascript] Firefox 1.5+ and Ajax responses

diego nunes dnunes at gmail.com
Mon Oct 2 08:08:51 CDT 2006


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



More information about the Javascript mailing list