Click to See Complete Forum and Search --> : Writable select element
Perfidus
12-18-2007, 12:31 PM
Hi there; i have seen somewhere a "select - option -option..." element in which it was also possible to write your own option if none of the given was the desired, I was wondering how to achieve that, or which are the tags and also which is the right forum to post this question...
Any hints?
:p
Perfidus
12-18-2007, 01:25 PM
By the way, will I have to use divs to add a drop down menu under a simple input or is there already another kind of html tag that will bring me such posibilities?
ray326
12-19-2007, 02:27 PM
I believe you're looking for a combo box, which HTML doesn't have. You can make one using a textbox over a select.
<input type="text" name="myinput" size="20">
<select onchange="put my current value into myinput">
<option>
...
</select>
Perfidus
12-19-2007, 04:39 PM
This is what I was looking for, so finally it is a simple javascript...
Do u know where can I look for a code sample??
thanks a lot !!
felgall
12-19-2007, 04:43 PM
is http://www.felgall.com/htmlt51.htm close to what you are looking for?
Perfidus
12-19-2007, 06:12 PM
Yeeeeees it is !!!