Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Appending Event...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 35480 of 36378
Post > Topic >>

Appending Events

by dunerunner <tpdietz@[EMAIL PROTECTED] > May 5, 2008 at 06:38 AM

Hi,

I have a situation where I have a button with an onclick event
containing a function and I need to append a function to that event.

For example, I have:

<button id="btn" onclick="func1(param);">The Button</button>

When the user clicks another button, I want to essentially have the
button above look like:

<button id="btn" onclick="func1(param);func2(param);">The Button</
button>

Is this possible?  If so, can I get some guidance, please?


Thanks,

Tim
 




 10 Posts in Topic:
Appending Events
dunerunner <tpdietz@[E  2008-05-05 06:38:09 
Re: Appending Events
Ugo <privacy@[EMAIL PR  2008-05-05 16:24:49 
Re: Appending Events
dunerunner <tpdietz@[E  2008-05-05 08:34:54 
Re: Appending Events
Ugo <privacy@[EMAIL PR  2008-05-05 17:52:22 
Re: Appending Events
dunerunner <tpdietz@[E  2008-05-05 12:11:52 
Re: Appending Events
Ugo <privacy@[EMAIL PR  2008-05-06 00:09:24 
Re: Appending Events
apatheticagnostic <apa  2008-05-05 16:13:18 
Re: Appending Events
dunerunner <tpdietz@[E  2008-05-06 04:06:44 
Re: Appending Events
apatheticagnostic <apa  2008-05-06 15:29:52 
Re: Appending Events
RobG <rgqld@[EMAIL PRO  2008-05-06 20:13:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 18:01:46 CDT 2008.