jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes converting dropdown into an editable dropdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "converting dropdown into an editable dropdown" Watch "converting dropdown into an editable dropdown" New topic

converting dropdown into an editable dropdown

Yell Srik
Ranch Hand

Joined: Mar 10, 2004
Posts: 61

In my form, i have two elements: a textbox and an select box

In the current implementation, the user can only type a value in the textbox or select a value from the dropdown.

Now i want to modify this implementation in such a way that instead of having a textbox and a select box, i want to have a single editable dropdown with the values aa,bb and cc and the user can enter some value in the dropdown itself?? How can this be done??

Thanks in advance.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Easy solution: other option, show hidden textbox beside element.

Another solution is an auto complete textbox.

Hard solution is a lot of JavaScript code.

Subhash Chandran

Joined: Jul 05, 2008
Posts: 5
[Please do not reawaken older posts. And restrict promotional posts to the Blatant Advertising forum]
[ July 19, 2008: Message edited by: Bear Bibeault ]
I agree. Here's the link: http://aspose.com/file-tools
subject: converting dropdown into an editable dropdown
It's not a secret anymore!