How do I set the selected value in a SELECT? ie: I have this form:
<select id="choose"> <option value="1">Cheese</option> <option value="2">Dog</option> </select> and I want Dog to be the selected item. How do I do this?
How do I set the selected value in a SELECT? ie: I have this form:
<select id="choose"> <option value="1">Cheese</option> <option value="2">Dog</option> </select> and I want Dog to be the selected item. How do I do this?