Jquery get options with out default option
I have following select element.
<select id="names" name="name">
<option value="">Please select</option>
<option value="1">Homba</option>
<option value="2">Bamba</option>
</select>
I want to get only
<option value="1">Homba</option>
<option value="2">Bamba</option>
How can i do it?
I have following select element.
<select id="names" name="name">
<option value="">Please select</option>
<option value="1">Homba</option>
<option value="2">Bamba</option>
</select>
I want to get only
<option value="1">Homba</option>
<option value="2">Bamba</option>
How can i do it?