In a select
, how I can select a particular option
?
For example, I want to select the option with 3 from this select ?
<select name="dropdown">
<option disabled>10x10</option>
<option disabled>20x20</option>
<option disabled>30x30</option>
</select>
What I have tried:
$('select[name="dropdown"] option[text="20x20"]').attr('disabled', false);
Thanks.