Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select that will allow manual entry 1

Status
Not open for further replies.

jl8789

MIS
May 22, 2003
293
US
Hello!

I'm trying to figure out what properties to set or what kind of JavaScript to use to have a dropdown(select) that contains options, but also allows manual entry? Does anyone out there know how to do this or point me in the right direction!? I was trying the contenteditable property and that was not working for the select control, and not sure that is really what I want to be doing.

THANKS!
 
There's no built in control to do what you're describing. However, with a little javascript and some AJAX, you could whip up something like google suggest to create a similar control:


-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
 
just google auto complete or combo box, or editable select list. By default a select is not editable AFAIK. I have seen some apps where a textinput acts like a select list, with the help of javascript and css.
Try something like this
or


but you should really look for yourself, and find the script that u like most.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top