What's the most elegant way to get this array
[10, 20, 30, 40, 50]
out of this list
<ul>
<li value="10">Item One</li>
<li value="20">Item Two</li>
<li value="30">Item three</li>
<li value="40">Item Four</li>
<li value="50">Item Five</li>
</ul>
using jQuery.
question from:https://stackoverflow.com/questions/7055053/jquery-select-attributes-into-an-array