Zup Posted May 15, 2007 Share Posted May 15, 2007 I have a simple form, just one password box and one submit button that posts to itself. I have a PHP script validate the password and create a session if it's correct. Everything works fine, except in IE7 if I press Enter to send the password it looks like the page just refreshes, but if I click Submit, it works fine. Firefox does not have this problem, it works both ways. Any ideas? Please help. Quote Link to comment https://forums.phpfreaks.com/topic/51579-forms-enter-key-and-ie7/ Share on other sites More sharing options...
ToonMariner Posted May 16, 2007 Share Posted May 16, 2007 yes - leave it alone. If that is how a browser works then those using that browser will soon realise and use it all the time. You rarely (very rarely) need any javascript to actualy make a form function. Quote Link to comment https://forums.phpfreaks.com/topic/51579-forms-enter-key-and-ie7/#findComment-254052 Share on other sites More sharing options...
Zup Posted May 16, 2007 Author Share Posted May 16, 2007 Are you sure this is normal behavior? It's pretty stupid of MS to do this, and I'm all for promoting the use of other browsers but the fact of the matter is over half the population on the internet uses IE and I'd like it to work for them too. Quote Link to comment https://forums.phpfreaks.com/topic/51579-forms-enter-key-and-ie7/#findComment-254795 Share on other sites More sharing options...
john010117 Posted May 17, 2007 Share Posted May 17, 2007 Are you sure this is normal behavior? It's pretty stupid of MS to do this. Like a guy said once (or in his sig) in this forum... They were developing IE for a few years, but they still haven't got it right. ... or something to that effect. Quote Link to comment https://forums.phpfreaks.com/topic/51579-forms-enter-key-and-ie7/#findComment-255007 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.