TypeWatch

程序名称:TypeWatch

授权协议: 未知

操作系统: 未知

开发语言:

TypeWatch 介绍

Call a function when a user has changed the text within a textbox and after
the user has stopped typing. Applies to any input textbox or textarea.

Note* This is not the OnChange event, instead the function is called
after the user has finished typing (or if the user stopped typing for #
amount of milliseconds) even if the textbox continues to have focus.

This can be used in conjunction with an AutoComplete box, so instead of firing
an AJAX call every 500 ms, you can fire it once when they’ve stopped typing.

Example:

var options = { callback:function(){ alert("changed search text"); }, wait:750, // milliseconds highlight:true, // highlight text on focus enterkey:true, // allow "Enter" to submit data on INPUTs } $("#search").typeWatch( options );

Also works with multiple elements:

$(".textbox").typeWatch( options );

TypeWatch 官网

http://plugins.jquery.com/project/TypeWatch

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...