Simply seperate the two function calls with a semicolon, as in onClick="alert('hi'); 
alert('bye');".  Or write one function that calls the two functions.

Craig

> -----Original Message-----
> From: Les Irvin [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 11:16 PM
> To:   CF-Talk
> Subject:      Two functions with a single onClick?
> 
> Can more than one javascript function be performed with a single 
> onClick?  If so, how would it be written?
> Thanks,
> Les 
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to