blob: aed85f0b9816317bb7af17a385340c6126051c90 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<!DOCTYPE html>
<html>
<body onload='var elem1 = document.getElementById("one");
elem1.setAttribute("selected", "selected");'>
<select size="2">
<option id="one" disabled>Option one</option>
<option id="two" selected>Option two</option>
</select>
</body>
</html>
|