go right to the source.
http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm

Another  good site is www.irt.org , and I second groups.google.com 

Look for event handlers like onkeypress/up/down and the like. When doing
this I usually load a function via onload that is included like a library.

Alexander Sicular
Chief Technology Architect
Neurological Institute of New York
Columbia University
as867 [at] columbia {dot} edu


|-----Original Message-----
|From: Troy Simpson [mailto:[EMAIL PROTECTED]] 
|Sent: Wednesday, January 23, 2002 5:34 PM
|To: CF-Talk
|Subject: How to determine what button was pushed? --(@@@)
|
|
|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
|
|
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to