1
2
3
4
5
6
7
8
9
var timeout;
$('#ajaxSave').bind('textchange', function () {
  clearTimeout(timeout);
  $('#ajaxFired').html('<strong>Typing...</strong>');
    var self = this;
    timeout = setTimeout(function () {
    $('#ajaxFired').html('<strong>Saved</strong>: ' + $(self).val());
  }, 1000);
});