读书人

(转) JQuery 插件 Autocomplete输

发布时间: 2012-10-06 17:34:01 作者: rapoo

(转) JQuery 插件 Autocomplete——输入自动提示 参数文档

原文地址:http://docs.jquery.com/Plugins/Autocomplete/autocomplete

?

?

Default: 1The minimum number of characters a user has to type before the autocompleter activates.multipleBooleanDefault: falseWhether to allow more than one autocompleted-value to enter.multipleSeparatorStringDefault: ", "Seperator to put between values when using multiple option.mustMatchBooleanDefault: falseIf set to true, the autocompleter will only allow results that are presented by the backend. Note that illegal values result in an empty input box.scrollBooleanDefault: true Whether to scroll when more results than configured via scrollHeight are available.scrollHeightNumberDefault: 180height of scrolled autocomplete control in pixelsselectFirstBooleanDefault: trueIf this is set to true, the first autocomplete value will be automatically selected on tab/return, even if it has not been handpicked by keyboard or mouse action. If there is a handpicked (highlighted) result, that result will take precedence.widthNumberDefault: width of the input ElementSpecify a custom width for the select box.

读书人网 >Web前端

热点推荐