On Wed, Feb 20, 2002 at 10:45:51AM -0800, Tim Roberts wrote: | >IE and Mozilla seem to choose the first button in | >the tab order as the default. | | What makes you say this? I don't think it is true. I just | tried this web page: | | <html> | <body> | <form method=get action='/cgi-bin/debug.cgi'> | <input type=text name="one" value="two"><br> | <input type=submit name='btn' value='aaa'><br> | <input type=submit name='btn' value='bbb'><br> | <input type=submit name='btn' value='ccc'><br> | </form> | </body> | </html>
Perhaps POST is different and we are both right. ;) On my form I have two buttons "OK" and "Cancel". Both of these buttons have an name "_action_", and when on the text area if the person presses ENTER then the OK(self,trans) method is run on my servlet and _action_ = OK is in the field list. I did *not* click on OK. This behavior seems to be independent of browser. Best, Clark _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
