jQuery UI Autocomplete: Implemement Google Suggest like Feature using jQuery UI Autocomplete Easily

Опубликовано: 14 Февраль 2015
на канале: Crypters Infotech
14,324
104

https://www.udemy.com/course/jquery-w...
jQuery in Action: Build 15 jQuery Projects

https://www.udemy.com/course/jquery-u...
jQuery UI in Action: Build 9 jQuery UI Projects

https://www.udemy.com/course/hands-on...
Hands-On jQuery: jQuery Examples

Find all our Udemy courses here:
https://www.udemy.com/user/cryptersin...

jQuery UI Autocomplete: Implemement Google Suggest like Feature using jQuery UI Autocomplete Easily

You might have noticed how Google helps you complete your search easily by providing suggestions. How does Google knows what you have in your mind? Google gets the values from some database and display it as a list as soon as you enter some characters into the search box.

You can also create a Google Suggest like feature in your website. It is simple to implement using jQuery UI Autocomplete.

If you do not know how to reference jQuery UI files correctly, see this video:
   • jQuery UI DatePicker: How to Disable ...  

You just need to have the suggestions with you either in an array or populated as a JSON object (from a database or from some other sources). You then have to call the autocomplete() method and set the value of source options to an array or string of suggestions.

You can also populate a list of labels and enter their corresponding values in the text box (something like country code or currency code).

To know how to write jQuery code easily, see this video:
   • jQuery Tip: Simple and Effective Tip ...