Articles tagged with #trigger




jQuery TypingEnd Event

Ever wanted to fire an event when a user stops typing into an input or textarea? Here is a quick jQuery plugin to do just that: (function($){ $.fn.extend({ typingEnd: function(callback, timeout){ callback = callback || null; timeout = timeout || 500; return this.each(function() { var $t = $(this), elapse_timeout = null; if(callback …