Categories:

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!