jQuery UI Autocomplete Widget Uses
Posted By : Rajan Rawat | 20-Nov-2017
In this
This widget is used for searching
Syntax
This Method autocomplete() it can be used in two forms
$(selector, context).autocomplete (options) Method
$(selector, context).autocomplete ("action", params) Method
$ (selector, context).autocomplete (options) Method
This widget declares an HTML <input> element which is managed as an input field and it will be displayed above suggestions list. The parameter options is like an object that specifies the behavior of suggestion list whenever the user is typing in the input field
Syntax
$(selector, context).autocomplete (options);
$(selector, context).autocomplete({option1: value1, option2: value2..... });
Now lets see an example for autocomplete widget functionality
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Rajan Rawat
Rajan is a UI Developer, having good knowledge of HTML, CSS and javascript. His hobbies are internet surfing and watching sports.