how can we make a editable COMBO-BOX on a web page

Discussions

Web tier: servlets, JSP, Web frameworks: how can we make a editable COMBO-BOX on a web page


  1. how can we make a editable COMBO-BOX on a web page?
  2. We solved this problem by "combining" a standard edit box with a drop-down list (either by its side, or underneath). We use a bit of Javascript to fill the edit box with the content of the selected list item when the selection changes. We have a component model for all our "GUI Controls" that go on HTML forms generated by our servlets, so it was very easy to create a "component" to include this functionality in any form.

    HTH.