1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title>Test for HTMLSelectElement.remove() on an Options object
</title>
5 <SCRIPT LANGUAGE=javascript
>
7 var zipselect = document.getElementById(
"theSelect");
8 var before = zipselect.options.length;
9 zipselect.remove(zipselect.options[
0]);
10 var after = zipselect.options.length;
12 document.getElementById(
"theDiv").innerHTML =
"test passed"
13 if (window.testRunner)
14 testRunner.dumpAsText();
19 <body onload=
"test();">
20 <div id=
"theDiv">test failed
</div>
22 <select id=
"theSelect">
23 <option value=
"ALL" selected
>hello
</option>