No, I'm not doing that ... It appears that I ought to, though! :-)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: September 6, 2006 6:29 PM
To: jQuery Discussion.
Subject: Re: [jQuery] AJAX loadIfModified() problems

David,

are you loading the if-modified-since header from your target script?
<? header("if-modified-since ... something like that

WIll
> I seem to be having some challenges with the loadIfModified(url)
> function. Is the remote HTML "injected" if anything is returned by the
> URL, or if only what is returned that the previous time the URL was
> queried?
>
> I'm building a web page that periodically polls the server to display
> the status (OK, busy, loading, etc.)
>
> The following code does not appear to work (in Firefox 1.5):
>       setInterval(function() {
>               $('#status-container').loadIfModified('status.jsp');
>       }, 1000);
> ... however, using the "load" function instead of "loadIfModified"
does
> seem to work:
>       setInterval(function() {
>               $('#status-container').load('status.jsp');
>       }, 1000);
>
> Suggestions?
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
>   


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to