Re: Pressing enter in a form

2005-03-30 Thread Frank W. Zammetti
You could simply attach an onKeypress event to the textboxes... This will ignore anything other than Enter (13). I'm actually not sure about that this.form part, off the top of my head that might be wrong... I remember there being a way to get a reference to the form an belongs to, but that mi

Re: Pressing enter in a form

2005-03-30 Thread Wendy Smoak
From: "Abdullah Jibaly" <[EMAIL PROTECTED]> > I have a form with an followed by an . > How can I get the submit to be activated when enter is pressed inside a text box on that form? > It is activating cancel right now. What I do is put an invisible button at the top of my form. (A button with a

Re: Pressing enter in a form

2005-03-30 Thread Jason King
Put the submit button first is the simplest most-straightforward answer.. If having cancel appear on the page first is a requirement that can't be worked around, put both buttons in s and use css to position the s so the cancel-div appears first. The "click the first button looks through the ht

Pressing enter in a form

2005-03-30 Thread Abdullah Jibaly
Hi all, I have a form with an followed by an . How can I get the submit to be activated when enter is pressed inside a text box on that form? It is activating cancel right now. Thanks, Abdullah - To unsubscribe, e-mail: [EMAI