I tested jQuery examples and, to my surprise, I got an error state for an AJAX call, which mentioned that the timeout was not defined. When I removed the timeout attribute, it worked fine. I downloaded jQuery a few days ago, so I'm sure this is not a version issue.
I tried with Firefox (3.6.8) and not with another browser.
Why is this happening?
Edit : code snippet moved from comments to question
$.ajax({ type: "GET", dataType: 'json', url: PHPServiceProxy, timeout: 5000, success: function(reply) { }
jquery ajax timeout
Shamim Hafiz Aug 03 '10 at 8:17 2010-08-03 08:17
source share