One other thing I needed to add. In IE, if a user presses the Enter Button, the page gets submitted but no default button is pressed. How has others resolved this issue?
I am thinking that I am going to have to assumed a default action if the Enter Key has been pressed and a button on the form was not. Thanks, Troy Troy Simpson wrote: > Is there a way to use client-side javascript to determine what button > was pushed before submitting a form? > > For example: >> <form action="page.cfm" method="get or post" name="frm" onsubmi= "return > OnSubmit();">> <input type="submit" name="btnAction" id="btnAction" valu= "Move"> >> <input type="submit" name="btnAction" id="btnAction" valu= "Copy"> > > </form> > > Thanks, > Troy > > P.S. Anyone know of a good JavaScript list to subscribe to? > > -- > Troy Simpson | North Carolina State University > NCSU Libraries | Campus Box 7111 | Raleigh | North Carolina > ph.919.515.3855 | fax.919.513.3330 > > It is better to be hated for what you are > than to be loved for what you are not. > -- Andre Gide > > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists