TypeWatch

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-10 22:28:01

软件介绍

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 );

本文地址:https://codercto.com/soft/d/23110.html

Writing Windows VxDs and Device Drivers, Second Edition

Writing Windows VxDs and Device Drivers, Second Edition

Karen Hazzah / CMP / 1996-01-12 / USD 54.95

Software developer and author Karen Hazzah expands her original treatise on device drivers in the second edition of "Writing Windows VxDs and Device Drivers." The book and companion disk include the a......一起来看看 《Writing Windows VxDs and Device Drivers, Second Edition》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具