Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-03-2008, 12:24 AM   PM User | #1
flynch01
Regular Coder

 
Join Date: Mar 2007
Location: England
Posts: 357
Thanks: 46
Thanked 22 Times in 21 Posts
flynch01 is on a distinguished road
Form Submitting

Code:
<form name="ulogin" method="POST" id="formlogin" action="index.php">
	<input name="uuser" type="text" value="Username" onBlur="loginCheck(this)" onFocus="clearT(this)" onKeyDown="">
	<input name="upass" type="password" value="Password" onBlur="loginCheck(this)" onFocus="clearT(this)">
	<input type="hidden" value="1" name="login">
<center><button type="submit">Go</button></center>
Quick question, very nooby probably but. Submits when I press the button. But when i press enter, it reloads the page but no data was submitted because it just reloads.

http://s0mesite.freehostia.com

To see in action.

Login: 3dstz
Pass: 3d
(Temporary account)

I'm using firefox by the way.

Edit:
Ok I asked some people to test, but it worked for them pressing enter. Just not for me. So this is in the wrong forum. So new question, and maybe you could move the post.

What firefox settting could be making it not work when i press enter?

Last edited by flynch01; 02-03-2008 at 12:33 AM..
flynch01 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:04 AM.


Advertisement
Log in to turn off these ads.