html - How do you nest a select inside of another select using javascript? -


html doesnt allow next:

<script>   function openwindow(){     document.getelementbyid("a").innerhtml = "<select><option>etc</option> </select>"   } </script>  <select onmouse = "openwindow()">   <option id = "a" value = "a">a           </option> </select> 

so basiclly im trying nesting select inside select.

obviously cant done this, 1 has idea how can done or if use jquery (i not familliar it) how can done?

thanks.

megamenu

i couldnt find 1 explains in best way, can see every category has option subcategories.

there no onmouse event only. use onmouseover or in mouse events category on this page.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -