How do I stop a jQuery long-polling request?

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-08T00:47:43Z Indexed on 2010/05/08 0:58 UTC
Read the original article Hit count: 322

Filed under:
|
|

I'm using...

   $.getJSON(url + "&callback=?", function (b) {
                .......
   });

for a long-polling request. Sometimes it is necessary that I stop the current request being made. Is this possible?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JSON