select attributes code example
Example 1: html select list
<label for="cars">Choose a car:</label>
<select id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
Example 2: html select tag attributes
var status = $('#listbox-taskStatus option:selected').attr('status');