Jquery中文网 www.jquerycn.cn
Jquery中文网 >  jQuery  >  jQuery 插件  >  正文 jSuggest

jSuggest

发布时间:2014-07-04   编辑:www.jquerycn.cn
jSuggest is yet another auto-completer for your text input box. It mimics the functionality of Google suggest. jSuggest will also bind item selection to your up and down arrows and also allow you to select the suggestions using your mouse. Download Demo T
jSuggest is yet another auto-completer for your text input box. It mimics the functionality of Google suggest. jSuggest will also bind item selection to your up and down arrows and also allow you to select the suggestions using your mouse. DownloadDemo The API and Default Values   $.fn.jSuggest.defaults = {
minchar: 3,
opacity: 1.0,
zindex: 20000,
delay: 2500,
loadingImg: 'ajax-loader.gif',
loadingText: 'Loading...',
autoChange: false,
url: "",
type: "GET",
data: ""
};   Explanation of the Options: minchar: the minimum number of characters in the textfield before jSuggest firesopacity: opacity of the suggestionszindex: z-index of the suggestionsdelay: number of miliseconds before jSuggest firesloadingImg: the image when waiting for ajax callsloadingText: the text when waiting for ajax callsautoChange: IF TRUE, automatically change the text of the text box on hover or selected. IF FALSE: change the text of the textbox when enter or mouse click on the suggestionurl: address of your suggestions.type: "GET" or "POST"data: this can be the name of the text box ie [ if data="age" and url ="pro.php", then this is parsed pro.php?age=textBoxvalue ]. Do not touch this option if you have no idea. Best to leave empty.

您可能感兴趣的文章:
jSuggest
精心收集的jQuery常用的插件1000

[关闭]