Dhtml Autocomplete

Files included in package * ajax-dynamic-list.html = Main HTML file * js/ajax-dynamic-list.js = Main JS file * js/ajax.js = Ajax (Library from http://twilightuniverse.com/projects/sack) * create-countries.php = PHP file which creates a database table for the demo * ajax-list-countries = Ajax contacts this file from the script. This file outputs a list of countries.

Dhtml Autocomplete demo

Changes to the code below will update the demo above in real time.



June 29, 2007, 10:01 p.m. - mike

it's working fine

Aug. 17, 2007, 6:56 a.m. - kishore

Hi its really looks cool.....I'm juz confused on how to get that one working from my end...coz I am basically a java developer ...so how could I go about ur code.... Once again looks really cool ajax functionality which u have given.. Plz lemme know any alternative for my query

Sept. 26, 2007, 12:06 p.m. - Babu

Hi!, can we use a jsp file or directly an XML file containing the list of countries, instead of using the php file (create-countries.php)? Also, how can the base tag on the html (<base ...ajaxdaddy.com/ajax/dhtml-autocomplete/">) be eleminated? Thanks, Babu (anandbabu_aj@yahoo.com)

April 7, 2008, 7:35 p.m. - arti ajans hosting

thanks you very gooooooood..

July 7, 2008, 10:28 p.m. - Praveen

Hey kudos to u. Keep up the good work. All the best for your future endaevours.

Oct. 22, 2008, 11:03 p.m. - Riyaz

its look very good. anybody can tell me how to use this is asp.net instead of PHP

Nov. 5, 2008, 5:20 a.m. - Farrukh

Hey Dude, thats a very nice work. thanks

Dec. 29, 2008, 6:56 a.m. - Micah Klitgaard

Hi! There seems to be a problem with the cache (ajax_list_cachedLists) for already searched items. E.g. if you type the letters 'abc' the request is only sent for 'ab' and not after 'c'. If you continue typing 'd' it makes an ajax request again. It is only failing periodically. When working, more than 100 records are returned for 'abc'.

Jan. 24, 2009, 1:55 p.m. - Margaux

Thank you. nice script.

June 9, 2009, 11:22 p.m. - Sabbirali

can u tell me how to remove caching in this .js file

July 8, 2009, 1:24 a.m. - Luyee

Thanks for the sample! I have been looking for this one :D

Nov. 19, 2009, 11:30 p.m. - kalum

this is very good

Feb. 10, 2010, 5:16 a.m. - Tusar

write autocomplete="off" in text field to avoid caching

Feb. 26, 2010, 7:34 p.m. - recursos humanos peru

Thanks, were in the search of this tool autocomplete for my Web.

June 20, 2010, 9:59 a.m. - tham tu

It is very good for me Thanks

July 23, 2010, 12:28 a.m. - alibaba

very nice sample.

Nov. 26, 2010, 9:19 a.m. - Dennis

Thanks you are great!!!!

Jan. 15, 2011, 6:19 a.m. - kamal1899

Thank you very much !!! It's working 100% !!!

April 29, 2011, 3:40 a.m. - Swathi

Hi, I have two autocomplete elements one has numbers if we select these numbers by checking the condition the other autocomplete element should populate using ajax in struts2 pls reply me…..

Sept. 23, 2011, 3:55 a.m. - rahul

This code is fantastic. But I want to populate list of names from Database. How can i do that.?

Feb. 12, 2012, 11:18 p.m. - narsimha

hi i want to display the dynamically email id by using ajax plz tell me........ ex:if u enter the firstname and lastname automatically take the email id this senario. ex :<fname>.<lname>@gmail.com(domain name)

March 16, 2012, 12:44 p.m. - Shakthi

Its Working Great. Thanks !!!

Oct. 16, 2012, 12:40 a.m. - Zameer Ahmed

its great idea! looking good! All the best for ur future endaevours.