News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

[js]One event handler, many actions

Started by District_posters, May 22, 2006, 08:45:31 AM

Previous topic - Next topic

0 Members and 15 Guests are viewing this topic.

raeds421

[js]One event handler, many actions
topic is at
You are not allowed to view links. Register or Login
One event handler, many actions

I get asked this question so often, both through email, and through the JK help forum, that 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!

-Tutorial introduction
-One event handler, one action
-One event handler, many actions
-JavaScript cut-and-pasters, listen up


COntinud at You are not allowed to view links. Register or Login