jQuery Archive

jQuery Cancel Other Ajax Requests

For some reason, you might be submitting Ajax requests to the same URL for the same purpose and returning the same results but it happens that there are multiple Ajax requests just being redundant. Possibly a user interface where a user is making multiple selections on a page, one after the other and running multiple

jQuery delay function/method

New jQuery delay() method. More information and examples of the jQuery delay() function/method. Here is a quick example: jQuery('#mydiv').attr('value', "Button Text").delay(1500).queue(function() { alert('button text was changed'); });