OT: Qn regarding multiple submit buttons on one page

2004-10-22 Thread Damien McKenna
I've got a situation as follows... +-+ | form| | (cancel)(submit) | +-+ Both buttons are actually image input tags as I use custom images rather than simply the generic buttons. The default action (e.g. when you hit Ent

Re: OT: Qn regarding multiple submit buttons on one page

2004-10-22 Thread Ray Champagne
This is a javascript that I use. Just change the name of the form ('loginform' right nowto whatever yours is. function onKeyPress () { var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which;

Re: OT: Qn regarding multiple submit buttons on one page

2004-10-23 Thread Larry Lyons
>I've got a situation as follows... > >+-+ >| form| >| (cancel)(submit) | >+-+ > >Both buttons are actually image input tags as I use custom images rather >than simply the generic buttons. The default action (e.g. when you

Re: OT: Qn regarding multiple submit buttons on one page

2004-10-25 Thread Scott Brady
On Fri, 22 Oct 2004 15:03:37 -0400, Damien McKenna wrote: > Both buttons are actually image input tags as I use custom images rather > than simply the generic buttons. The default action (e.g. when you hit > Enter while editing a field) goes to the cancel button. I'd like the > submit button to b