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://www.codercto.com/soft/d/23110.html

敏捷软件开发

敏捷软件开发

Robert C.Martin,、Micah Martin / 邓辉、孙鸣 / 人民邮电出版社 / 2010-12 / 79.00元

要想成为一名优秀的软件开发人员,需要熟练应用编程语言和开发工具,更重要的是能够领悟优美代码背后的原则和前人总结的经验——这正是本书的主题。本书凝聚了世界级软件开发大师Robert C. Martin数十年软件开发和培训经验,Java版曾荣获计算机图书最高荣誉——Jolt大奖,是广受推崇的经典著作,自出版以来一直畅销不衰。 不要被书名误导了,本书不是那种以开发过程为主题的敏捷软件开发类图书。在......一起来看看 《敏捷软件开发》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换