I am trying to clone a select list into a standard ul list for enhanced javascript select box manipulation/styling.
Basically, if I do this: $("#calendar select option").clone().appendTo("#test");
i get the following html
<ul id="test">
<option>All Types</option>
<option>Installation</option>
<option>Music</option>
<option>Performing Arts</option>
<option>Season</option>
<option>YUIYIYI</option>
</ul>
How can i then change all the <option>
tags to be <li>
tags without losing all the values?
Any help much appricated.
A.