This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $('#element').on('donetyping', callback) | |
// Fires donetyping event when a user has finished typing. This is determined by the time elapsed | |
// since the last keystroke and timeout parameter or the blur event--whichever comes first. | |
// @callback: function to be called when even triggers | |
// @timeout: (default=1000) timeout, in ms, to to wait before triggering event if not | |
// caused by blur. | |
// Requires jQuery 1.7+ | |
// Based on the jQuery extension created by @brad-christie on StackOverflow | |
// | |
$(":input").each(function () { |