Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a CGI form consisting of a text box and two buttons. I would like to make it so that if the user presses "enter" on his keyboard when the cursor is in the text box, the lower of the two buttons is activated rather than the upper one that the form appears to be defaulting to.
Any ideas?
TIA
CJ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing the default button in a CGI perl script
by siva kumar (Pilgrim) on Dec 13, 2006 at 12:45 UTC | |
|
Re: Changing the default button in a CGI perl script
by olus (Curate) on Dec 13, 2006 at 12:46 UTC | |
|
Re: Changing the default button in a CGI perl script
by f00li5h (Chaplain) on Dec 13, 2006 at 11:49 UTC |