How to convert <select> dropdown into an unordered list using jquery?
<p>How do I convert a dropdown in this format:</p>

<pre><code>&lt;select id="yearfilter" name="yearfilter"&gt;
&lt;option value=""&gt;All years&lt;/option&gt;
&lt;option value="2011"&gt;2011&lt;/option&gt;
&lt;option value="2010"&gt;2010&lt;/option&gt;
&lt;option value="2009"&gt;2009&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>into an unordered list in this format:</p>

<pre><code>&lt;ul id="yearfilter" name="yearfilter"&gt;
&lt;li value=""&gt;All years&lt;/li&gt;
&lt;li value="2011"&gt;2011&lt;/li&gt;
&lt;li value="2010"&gt;2010&lt;/li&gt;
&lt;li value="2009"&gt;2009&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>using jquery??</p>
