Hi,
I need to know how to get the jscript portion of this code to run only after a password is entered. As it stands now it runs automatically.
Thanks..Russ
<tr> <td align="right" nowrap><font face="arial" size="-1">SSN</font></td>
<td><input name="passwd" type="password" size="17" maxlength="32" value=""></td></tr>
<tr>
<td> </td>
<td><input type="submit" value="Sign In"></td>
</tr>
</table>
<script language = "JavaScript">
pass = document.form1.passwd.value
document.write(pass);
</script>
</BODY>
</html>
I need to know how to get the jscript portion of this code to run only after a password is entered. As it stands now it runs automatically.
Thanks..Russ
<tr> <td align="right" nowrap><font face="arial" size="-1">SSN</font></td>
<td><input name="passwd" type="password" size="17" maxlength="32" value=""></td></tr>
<tr>
<td> </td>
<td><input type="submit" value="Sign In"></td>
</tr>
</table>
<script language = "JavaScript">
pass = document.form1.passwd.value
document.write(pass);
</script>
</BODY>
</html>