Sourav
Sourav

Reputation: 17530

Auto suggest textbox client-side - jQuery

I want to have a auto suggest textbox where the tags will be present in the array in the javascript, so no request to server.

Upvotes: 1

Views: 5487

Answers (4)

Tamler
Tamler

Reputation: 130

Create an array of values then (if using jQuery) use .inArray. See here: http://api.jquery.com/jQuery.inArray/

Upvotes: 0

sv_in
sv_in

Reputation: 14049

check out JQuery UI Autocomplete.

This is the link to the demo: http://jqueryui.com/demos/autocomplete/

The first demo 'Default Functionality' addresses your problem

Upvotes: 4

Sourav
Sourav

Reputation: 17530

I got this

http://docs.jquery.com/Plugins/autocomplete

Upvotes: 0

Dustin Laine
Dustin Laine

Reputation: 38543

Most autosuggest plugins support this. I use this one and it works great: http://code.drewwilson.com/entry/autosuggest-jquery-plugin

Upvotes: 1

Related Questions