FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Writable select tag

 


ptolomeo
Another question about forms.

I want to make a select tag that have the posibility to insert text to it, I say,
I want to make it work as an hybrid between a select and a text tag.

Is it possible to construct that using Javascript, and how?


Thanks for any help on that.
Stubru Freak
ptolomeo wrote:
Another question about forms.

I want to make a select tag that have the posibility to insert text to it, I say,
I want to make it work as an hybrid between a select and a text tag.

Is it possible to construct that using Javascript, and how?


Thanks for any help on that.


You'd have to use a few text inputs, and make them behave as a select tag manually.
wabik90
I don't know exactly what you mean, but check this:

Code:

<input type="radio" id="" name="" value="" />Option 1<br />
<input type="radio" id="" name="" value="" />Option 2<br />
<input type="radio" id="" name="" value="" /><input id="" name="" value="Option 3"/><br />
<input type="radio" id="" name="" value="" />Option 4<br />


You mean something similar?

Cheers Smile
ptolomeo
Similar but with a select and options instead of radio buttons. I tried the your code with <option>'s but it didn't work. It seems that the option tags avoid using anything but text inside it.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.