- From: Ravindra Sharma <rsharma@marketfirst.com>
- Date: Mon, 26 Apr 1999 20:13:48 -0700
- To: "Bradley J. Gibby" <bgibby@servcom.net.au>
- Cc: <www-html@w3.org>
Hello Bradley, Thanks for response, but this did not work. Also I already have value used to rename the sumbit button. My rag is <input type="submit" value="Submit Online"> If I don't have multiple forms and want to active another button for <enter key> through java-script. Can I do that? Thanks, -ravi > -----Original Message----- > From: Bradley J. Gibby [mailto:bgibby@servcom.net.au] > Sent: Monday, April 26, 1999 7:40 PM > To: Ravindra Sharma > Subject: Re: How to enable button? > > > The <input type="submit" value="Default Button"> element sets > this button to > activate once enter is pressed within any element (type="text" moreso). > > If you have multiple <form> tags within your document, then > whichever set of > <input> elements you're currently focused upon will activate the > form actoin > of that form. > > Cya > Bradley q:) > > ----- Original Message ----- > From: Ravindra Sharma <rsharma@marketfirst.com> > To: <www-html@w3.org> > Sent: Tuesday, April 27, 1999 3:12 AM > Subject: How to enable button? > > > > I have a html form. It has two buttons. I want without > > mouse click if <Enter key> is pressed by default one > > of them to work. > > > > Currently if I press enter none of them works. > > > > Is there any TAB ORDER concept in HTML form? > > > > Can I do something in Form OnLoad function to > > give enter key focus to the one of the button. > > > > For example in following page http://home.microsoft.com/ > > if click on hotmail logon/password edit box. > > The enter button gets <Enter Key> focus. > > > > I will appreciate any kind of help on this. > > > > -ravi > > > > >
Received on Monday, 26 April 1999 23:08:34 UTC