JQuery Completer Automatic input prompt

Source: Internet
Author: User

Online example

Example Demo

How to use
  1. <input Type="text" id="Auto-complete-email" class="Input" Placeholder="e-mail"/>
  2. $ ("#auto-complete-email"). Completer ({
  3. Separator: "@",
  4. Source: ["163.com", "qq.com", "126.com", "139.com", "gmail.com", "hotmail.com", "icloud.com"]
  5. });
CopyDetailed parameters
Parameters Describe Default value
Options Description Default value
Complete Triggered when input is complete function () {}
Itemtag Popup list element labels in the display panel "Li"
Filter Filter function, when input will filter the relevant list content and then show the list Function (val) {return val;}
Position The position of the pop-up list panel relative to the input box has a value of "top", "right", "bottom", and "left". "Bottom"
Source Data that will be automatically fully displayed []
Selectedclass Style when the options in the popup panel are selected "Completer-selected"
Separator delimiter, separating the input from the partially suggested AutoComplete, such as @ ""
Suggest If set to true, the recommended suggestion mode will be entered, and the input will be automatically matched False
Template Templates for popup panels "<ul class=" Completer-container "></ul>"
ZIndex Z-index value in CSS for popup panel 1
Download

JQuery Completer Automatic input prompt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.