[thelist] ie caching ajax

Lee Kowalkowski lee.kowalkowski at googlemail.com
Thu May 8 06:17:04 CDT 2008

On 07/05/2008, Brian Cummiskey <Brian at hondaswap.com> wrote:
> Hi all,
> I have an ajax app that I spent a lot of time fine tuning for an ajax post.
> Works flawless in firefox, safari.
> In ie7, it works flawless the first time.
>    xmlHttp.onreadystatechange = alertContents;
>    xmlHttp.open('POST',url,true);

Hmm, try swapping those two lines around, are you re-using your XHR
object or creating a new one every time?
 - Might be alright if you're only interested in a ready state of 4.


More information about the thelist mailing list