[thelist] Default Form Submit Button

Ed Courtenay ed at edcourtenay.co.uk
Sun Aug 5 15:34:07 CDT 2001


I take it you are trying to produce the following effect:

[A] [B] [C] - where [C] is the default image button.

You can do this very easily by:

<table>
	<tr>
		<td colspan="2"></td>
		<td rowspan="2" valign="bottom">[C]</td>
	</tr>
	<tr>
		<td valign="bottom">[A]</td>
		<td valign="bottom">[B]</td>
	</tr>
</table>

[C] will become the default image button...

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Hershel Robinson
Sent: 05 August 2001 14:56
To: thelist at lists.evolt.org
Subject: [thelist] Default Form Submit Button


HTML gurus,

I have a FORM with three INPUT TYPE=IMAGE elements in it.  When the user
presses the Enter key in one of the TEXT inputs, naturally the first image
input is triggered.  As a matter of fact, its onclick event is actually
triggered, too.  What I want, however, is for the third button to be
triggered.

I don't want to change the order of the buttons, because logically, they
belong where they are.  How can I make the third one the default button?

Thanks,
Hershel


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list