jQuery UI Widget : Autocomplete

This page discusses - jQuery UI Widget : Autocomplete

jQuery UI Widget : Autocomplete


Query UI Widget : Autocomplete

Using autocomplete widget , you can add autocomplete feature to your input  field. In this field when you will start type something , it will provide a list of related possible values (starting from that letter which you already typed). When you click on any of these , it will auto complete the remaining text.

For options, events ,method and theming click here



<!DOCTYPE html>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui
/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8

$(document).ready(function() {
source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"]
<body style="font-size:62.5%;">
<h3><font color="red">Fill the below Field</font></h3>
Type your language proficiency :
<input id="autocomplete" />

Output :

When you type something , for ex. java , it will show :

Download Source Code

Click here to see online demo

Click here to see another Example using different plugin.

Click here to see another demo using different plugin.

Learn from experts! Attend jQuery Training classes.

Share on Google+Share on Google+

jQuery UI Widget : Autocomplete

Posted on: April 18, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles



Discuss: jQuery UI Widget : Autocomplete  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image