Categories:
Partners
Web Hosting
We've partnered with HostGator for reliable, affordable hosting starting at $3.95/mon. Use coupon code "javascriptkit25" for 25% off any package.

One event handler, many actions

I get asked this question so often, both through emails and CodingForums.com, I thought it was time a tutorial was written around the subject. The subject in question is this: "Is it possible for one event handler in JavaScript to execute more than one action (ie: two functions), and if so, how?" Well, the answer is definitely yes, and definitely very easy to do too!

Copyright 1997-2014 JavaScript Kit. NO PART may be reproduced without author's permission.