mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
11 lines
303 B
HTML
11 lines
303 B
HTML
<!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>
|