This is a nice autocomplete plugin which is part of jQuery UI project.

It is really nice. Very very simple code, easy to understand and implement.

Please try it.

http://awrdev.g3tech.in/jquery_tutorials/

The list of cities are:

 $(function() {
                var Cities = [
                        "Delhi",
                        "Mumbai",
                        "Chennai",
                        "Bangalore",
                        "Coimbatore",
                        "Madurai",
                        "Pune",
                        "Chandigarh",
                        "Kolkata",
                        "Guwahati",
                        "Baroda",
                        "Nasik",
                        "Kavaratti",
                        "Tirunelveli",
                        "Kanyakumari"
                ];
                $( "#tags" ).autocomplete({
                        source: Cities
                });
        });

The code is also only this much.

-Girish

-- 
Gayatri Hitech
http://gayatri-hitech.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to