Home | History | Annotate | Download | only in html
      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 - INPUT</title>
      8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLInputElement03.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
      9 <body onload="loadComplete()">
     10 <table cellpadding="15" border="border" summary="Table 1">
     11 <tr align="center">
     12 <td valign="top">Under a FORM control
     13 <form id="form1" action="./files/getData.pl" method="post">
     14 <table border="15" summary="Table 2">
     15 <tr>
     16 <td>
     17 <label accesskey="b" for="input1">Enter Your Password:</label>
     18 </td>
     19 <td>
     20 <input dir="ltr" id="input1" tabindex="8" value="Password" type="password" name="Password" size="25" maxlength="5" alt="Password entry" readonly="readonly"/>
     21 </td>
     22 </tr>
     23 <tr>
     24 <td>
     25 <input type="radio" name="Radio1" accesskey="c" value="ReHire"/>
     26 </td>
     27 </tr>
     28 <tr>
     29 <td>
     30 <input type="radio" name="Radio2" value="NewHire" tabindex="9" checked="checked"/>
     31 </td>
     32 </tr>
     33 <tr>
     34 <td>Hours available to work</td>
     35 <td>
     36 <input type="checkbox" name="Check1" align="bottom" tabindex="10" value="EarlyMornings" checked="checked"/>
     37 <br/>
     38 <input id="input5" type="checkbox" name="Check2" tabindex="11" value="AfterNoon" onclick="newId(this)"/>
     39 <br/>
     40 <input type="checkbox" name="Check3" tabindex="12" value="Evenings"/>
     41 <br/>
     42 <input type="checkbox" name="Check4" tabindex="13" value="Closing" disabled="disabled"/>
     43 <br/>
     44 </td>
     45 </tr>
     46 <tr>
     47 <td colspan="2">
     48 <input type="image" tabindex="14" name="SubmitImage" usemap="#submit-map" src="./pix/submit.gif"/>
     49 </td>
     50 </tr>
     51 <tr>
     52 <td colspan="2">
     53 <input title="old_title" type="file" name="FileControl" tabindex="15" accept="GIF,JPEG" onselect="newTitle(this)"/>
     54 </td>
     55 </tr>
     56 </table>
     57 </form>
     58 </td>
     59 </tr>
     60 </table>
     61 </body>
     62 </html>
     63