Hello,

I have a question for this attribute in an ajax request.
I'ld like to test this attribute, but all Ajax responses I get every 2
seconds contains the content from file test.js - but I haven't changed this
file, so the response should be empty, shouldn't it??

That's my code:

function getAll() {
        $.ajax({
          type: "POST",
          url: "test.js",
          ifModified: true,
          success: function(msg){
            setTimeout('getAll()', 2000);
          }
        });
}

By the way: this code only works with jquery 1.1.3.1, but not with 1.1.4 or
1.2.1. That's strange, isn't it?

-- 
View this message in context: 
http://www.nabble.com/ifModified-tf4561224s27240.html#a13017030
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to