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

高扩展性网站的50条原则

高扩展性网站的50条原则

[美] Martin L. Abbott、[美]Michael T. Fisher / 张欣、杨海玲 / 人民邮电出版社 / 2012-6-3 / 35.00元

《高扩展性网站的50条原则》给出了设计高扩展网站的50条原则,如不要过度设计、设计时就考虑扩展性、把方案简化3倍以上、减少DNS查找、尽可能减少对象等,每个原则都与不同的主题绑定在一起。大部分原则是面向技术的,只有少量原则解决的是与关键习惯和方法有关的问题,当然,每个原则都对构建可扩展的产品至关重要。 主要内容包括: 通过克隆、复制、分离功能和拆分数据集提高网站扩展性; 采用横向......一起来看看 《高扩展性网站的50条原则》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具