Within an ASP page I have the following form:
Within login.asp, I have the code
In IE6, when the user enters a password and clicks the login button, all behaves as I expect and the Button vraiable contains the text 'login' but if the user hits the enter key after entering the password, the value in Button is blank. I was expecting it to be "login" and it is when I use Firefox.
Any suggestions?
Code:
<form name="MyLogin" method="POST" action="login.asp">
Password
<input type=password name="Password">
<input type=submit name="login" value="Login" class="ApplyButton">
</form>
Code:
Password=Trim(Request.Form("Password"))
Button=LCase(Request.Form("login"))
Any suggestions?