In the given code, I need the list of the value of the "value" attribute for each of the options in the select drop-down :
<select id="myselect">
<option value="val1">Some Text</option>
<option value="val2">Some Text</option>
<option value="val3">Some Text</option>
<option value="val4">Some Text</option>
<option value="val5">Some Text</option>
<option value="val6">Some Text</option>
</select>
I want the list of all the values, which is {val1,val2,val3,val4,val5,val6}