Click here to Skip to main content
13,045,417 members (59,260 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi friends ,

I have a login page in classic asp which contains two buttons login and signup . Also i have a submit button which is hidden .On form submit i am checking the
if request.form(submit) = login

then login steps

else request.form(signup) = signup

it works fine in all browsers but in IE when i hit the enter key it esacpe the request.form(submit) = login and request.form(signup) = signup but when i click on enter button then it works fine . Any idea why i am getting nothing on the request.form(submit) = login .
Posted 9-Jan-13 5:50am
Adam R Harris 9-Jan-13 11:56am
Awhile ago IE started handling Enter by posting a blank for to the server. There are several workarounds for this, just work the googles.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100