jQuery-typing这个jQuery插件用于为文本输入框的键盘开始和结束输入事件添加回调功能。

$(':text').first().typing({      start: function () {$('body').css('color', 'red');},      stop: function () {$('body').css('color', 'blue');},      delay: 400  });