Login Form

UID:
PW:
CODE:
<form name="login" id="login" method="post" action="javascript:void(0)">
<h2>Login Form</h2>
<font face="Verdena">UID:
<input type="text" name="username" size="8"><br>PW:
<input type="text" name="password" size="8"><br>
<input type="submit" name="btnSubmit" value="Submit">
</form>

  CODE:
<script>
document.write("<h2>Login Form Properties </h2>");
document.write("<b>Name Property: </b>");
document.write(document.login.name);
document.write("<br>");
document.write("<b>Action Property: </b>");
document.write(document.login.action);
document.write("<br>");
document.write("<b>Method Property: </b>");
document.write(document.login.method);
document.write("<br>");
document.write("<b>Length Property: </b>");
document.write(document.login.length);
</script>