Select your favorite fruit:
<select id="fruits">
<option>Apple</option>
<option>Orange</option>
<option>Pineapple</option>
<option>Banana</option>
</select>
</form>
In the form above how do I programmatically set using jQuery the
Pineapple option as the selected default?
No comments:
Post a Comment