I have select list
<select name="select-choice-min" id="mainMenu" data-mini="true">
<option value="10">10</option>
<option value="11">11</option>
...
</select>
I tried with
var arr = new Array();
var sval = $("#mainMenu option").val();
arr.push(sval);
but on alerting arr variable I'm getting only first value 10, 10, 10, ...
so, how to get all select option values?