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" onsubmit="return OnSubmit();"> <input type="submit" name="btnAction" id="btnAction" value="Move"> <input type="submit" name="btnAction" id="btnAction" value="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 ______________________________________________________________________ Get Your Own 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=coldfusionb 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