browser bug

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Does anyone know of the particular browser bug that occurs in IE6 (I can not
re produce this is in other browsers), when I have a <form> element that
only works when you click the submit button with your mouse, and only
*sometimes* works when you hit the enter key.  I only have three items in my
form, they are 1 input type text, 1 input type password, 1 input type submit
button.  The default action for some browsers are that the first submit
button in the form 'should be' the one that is 'pressed' when the enter key
is pressed.

This code works on IE5.5, Moz 1.4, NS 7.1, Opera 7.11, however, it sometimes
does not work in IE6.  Is there anything that you can see in this code that
may cause inconsistencies?

<form action="/login.php" method=post>
      <tr><td><input type="text" name="username" value="" size=20
      <tr><td><input type="password" name="password" size=20
      <tr><td><input type="submit" name="submit" value="Login

Thanks very much

Re: browser bug

Disco said...

Quoted text here. Click to load it

Quoted text here. Click to load it

works every time for me with enter or mouse.

13/October/2003 08:41:37 pm

Site Timeline