Dear Wrox Press
Is there someway to submit the form by hitting <enter> after you have typed
the password but are still on that field - that is, without going to the
submit button (a graphic)
Many thanks, Arnold Matthews
My code is below:
<html>
<head>
<title>Submit Form With Image and Javascript</title>
<script language="JavaScript">
<!--
function NavPost() {
document.theform.submit();
}
//-->
</script>
</head>
<body bgcolor="#FFFFCC">
<FORM NAME="theform" ACTION="ClientMenu.asp" METHOD=POST>
<p><b> Enter Your Password</b>
<INPUT TYPE="PASSWORD" NAME="ClientPassword">
</p>
<p><a href="javascript:NavPost()"><img
src="images/GoToClientAreaButton.jpg"></a>
</p>
</FORM>
</body>
</html>