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
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to