views:

145

answers:

1

how do you code a search box like the one in Tags where you enter a tag name and all tags are showing immidiately without you press enter.

can someone link me a script or tutorial for that. is it javascript or jquery? does it involve ajax?

and does it search in the database for tags? or is it searching through a xml file with tags?

+2  A: 

Check out this SO post:

How does StackOverflow’s ‘tags’ textbox autocomplete work?

o.k.w
but that is not exactly the same. that is autocompletion. i want a search every time without having to press enter. i know its very simple. is it just to use "onkeyup" with javascript?
weng
one more thing. should it be retrieving tags from database with SELECT or do i have to export everything to a XML file and then use javascript on it?
weng