<body>

<FORM NAME="html40">

<PRE>
Button        <INPUT NAME="button" TYPE="BUTTON" VALUE="Button">
Checkbox      <INPUT NAME="checkbox" TYPE="CHECKBOX">
FileUpload    <INPUT NAME="file" TYPE="FILE">
Password      <INPUT NAME="password" TYPE="PASSWORD">
Radio         <INPUT NAME="radio" TYPE="RADIO" CHECKED>
              <INPUT NAME="radio" TYPE="RADIO">
Reset object  <INPUT NAME="reset" TYPE="RESET">
Select object <SELECT NAME="select"><OPTION>1<OPTION>2<OPTION>3</SELECT>
Submit object <INPUT NAME="submit" TYPE="SUBMIT">
Text          <INPUT NAME="text" TYPE="TEXT">
Textarea      <TEXTAREA NAME="textarea"></TEXTAREA>
</PRE>
</FORM>

<FORM>
<INPUT NAME="suspend" TYPE="BUTTON" VALUE="Suspend Form" onClick="mySuspend()">
<INPUT NAME="resume" TYPE="BUTTON" VALUE="Resume Form" onClick="myResume()">
</FORM>


<SCRIPT LANGUAGE="JavaScript">
function mySuspend() {
    document.html40.button.disabled=true;
    document.html40.checkbox.disabled=true;
    document.html40.file.disabled=true;
    document.html40.password.disabled=true;
    for (var i=0;i < document.html40.radio.length;i++)
        document.html40.radio[i].disabled=true;
    document.html40.reset.disabled=true;
    document.html40.select.disabled=true;
    document.html40.submit.disabled=true;
    document.html40.text.disabled=true;
    document.html40.textarea.disabled=true;
}

function myResume() {
    document.html40.button.disabled=false;
    document.html40.checkbox.disabled=false;
    document.html40.file.disabled=false;
    document.html40.password.disabled=false;
    for (var i=0;i < document.html40.radio.length;i++)
        document.html40.radio[i].disabled=false;
    document.html40.reset.disabled=false;
    document.html40.select.disabled=false;
    document.html40.submit.disabled=false;
    document.html40.text.disabled=false;
    document.html40.textarea.disabled=false;
}
</SCRIPT>

</body>

