not been set. Bug 395107, r+sr=sicking. git-svn-id: svn://10.0.0.236/trunk@240418 18797224-902f-48f8-a5cc-f745e15eee43
21 lines
355 B
HTML
21 lines
355 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
|
|
<select id="a">
|
|
<option>Option 1</option>
|
|
<option>Option 2</option>
|
|
<option>Option 3</option>
|
|
<option>Option 4</option>
|
|
</select>
|
|
|
|
<script>
|
|
document.body.offsetWidth;
|
|
var x=document.getElementById('a').options;
|
|
x[1].defaultSelected = true;
|
|
x[2].defaultSelected = true;
|
|
x[3].defaultSelected = true;
|
|
</script>
|
|
</body>
|
|
</html>
|