1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html 3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 "xhtml1-transitional.dtd"> 5 <html xmlns='http://www.w3.org/1999/xhtml'> 6 <head> 7 <title>NIST DOM HTML Test - OPTION</title> 8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLOptionElement02.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> 9 <body onload="loadComplete()"> 10 <form id="form1" action="./files/getData.pl" method="post"> 11 <p> 12 <select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> 13 <option selected="selected" value="10001">EMP10001</option> 14 <option label="l1">EMP10002</option> 15 <option>EMP10003</option> 16 <option>EMP10004</option> 17 <option>EMP10005</option> 18 </select> 19 </p> 20 </form> 21 <p> 22 <select name="select2" disabled="disabled"> 23 <option>EMP20001</option> 24 <option>EMP20002</option> 25 <option>EMP20003</option> 26 <option>EMP20004</option> 27 <option disabled="disabled">EMP20005</option> 28 </select> 29 </p> 30 </body> 31 </html> 32 33 34