Click to See Complete Forum and Search --> : preventing the carige return from reloading page in ie


innodan ddm2innosoft-inc.com
06-20-2000, 04:22 PM
I have a form that when a carige return is hit after entering data into a
text input form element, the page reloads. this dosent occur in Netscape
only in IE. Does anyone know how to turn this behavior off?
thanks in advance,
Dan

Andrew King
06-20-2000, 04:31 PM
Personally, I've always considered it a bug that Netscape doesn't submit the
form on RETURN/ENTER.
Should use TAB to move to the next field in the form.

Andrew

Ajith Edassery
06-20-2000, 11:47 PM
Hi,
You will have to trap the onkeydown/onkeypressed events and return false
if the key value is Carriage return...

Ajith

"innodan" ddm2innosoft-inc.com wrote:
>
>I have a form that when a carige return is hit after entering data into
a
>text input form element, the page reloads. this dosent occur in Netscape
>only in IE. Does anyone know how to turn this behavior off?
>thanks in advance,
>Dan