0

Good day, I have a problem here: is it possible to put an input field into option such as this?

<select>
	<option><input type="text" value="aa"></option>
</select>

(This is not working, any suggestiuon on how to refine it for it to work?)
Any help will be appriciated.

2
Contributors
1
Reply
3
Views
6 Years
Discussion Span
Last Post by Agarsia
0

nope, this will not work.
you can create a "select" element with javascript or css3 using div elements and in these you could have input-elements like: for example:

<div id="select">
 <div id="active"><!--active option--></div>
 <div id="dropdown">
  <div class="option"><input type="text" value="aa" /></div>
 </div>
</div>

this has to be designed with css. you could use the :hover effect

-Agarsia

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.