I use java script like this:
<script language="javascript">
function highlight() {
<body onload="highlight()">
<form name="options" action="whatever.php" method="post">
<input type="submit" name="cancel" value="Cancel">
<input type ="submit" name="continue" value="Continue">


At 07:51 AM 9/11/01, Jason Caldwell wrote:
>On some of my forms I have multiple Submit buttons;
>for example
>Button1 = Cancel, and
>Button2 = Continue
>Is there a way to make one of them the *default* button so that when a user
>presses their Return / Enter Key, *that default* button will be processed?
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to