Aaron Held wrote: >> I've take advantage of tying functions to different submit buttons on a >> form, but is there any way to set a 'default' action that will fire if >> the user submits the form via the enter key rather then clicking the >> correct button? >> >> I can setup a javascript handler to intercept the enter key, but is >> there a server side method?
Ian Bicking <[EMAIL PROTECTED]> wrote: > >No, there isn't. There should be. Well, it will ALWAYS take client-side Javascript code to catch the enter key and process it in a particular way. There isn't any way for straight server- side code to distinguish between an Enter key submission and a submit button press. I think what you're saying "there should be a way for server-side methods to ask for this Javascript to be included." Right? -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
