Hi,

I have this line of code:

      $('#comments').load('/shared/fetch/forum/comments/comments.php');

When calling it in IE, FF/PC, Safari etc. everything is fine. But when 
calling the same line of code in FF/Mac, it does not work and I get an 
NS_ERROR_NOT_AVAILABLE on line 1704 in JQuery 1.0.1.:

          // Cache Last-Modified header, if ifModified mode.
          var modRes = xml.getResponseHeader("Last-Modified");

Creating a plain text file and calling it works as expected:

          
$('#comments').load('/shared/fetch/forum/comments/helloworld.html');

My quick-fix was to change it to:
   
    if ( ifModified ) {
            var modRes = xml.getResponseHeader("Last-Modified");
            if ( ifModified && modRes ) jQuery.lastModified[url] = modRes;
    }

John, what would be the right thing to do?
Cheers, Arash

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

Reply via email to