JQuery.waiting

A plugin to wait a fixed time since the last call only.

Download .zip Download .tar.gz View on GitHub

jQuery.waiting

A plugin to wait fixed time since the last call only.

Une documentation en fran├žais est disponible ici:
http://www.marcbuils.fr/2012/10/jquerywaiting-timer-dattente-resette.html

Demo

Result

Search the following text:

Sources

Search the following text: <input type="text" id="search" />
	<div id="results">
		<ul>
		</ul>
	</div>

<script>
$('#search').keyup(function(){
	$(this).waiting(500).done(function(){
		$('#results > ul').append( $('<li>' + $(this).val() + '</li>') );
	});
});
</script>

Author

Marc Buils (http://www.marcbuils.fr)

License

LGPL v3 (http://www.gnu.org/licenses/lgpl-3.0.txt)

Current Version

v0.1.0