Take the 2-minute tour ×  I have defined event handlers
according to their classnames in the latest project that I'm
working on.  for ex. all element with the class name "foo"
should respond in a particular way on change event. and all
elements with the class name "bar" should respond in some other
way.  Now some of my elements fall under both classes i.e.
class="foo bar" and they should respond in both ways. Right now,
only one of the event handler function is being called.  How can
I make both the responses execute simultaneously.  share|improve
this question Short answer, you can't. One will execute before
the other. Simultaneous isn't possible, but, both should be
executing in the order in which they were raised. Can you give
us some code to look at? –  The Internet Oct 2 '12 at 5:16 you
can not execute both events "simultaneously". by the way what
are these events, somehow it also depends on the events – 
diEcho Oct 2 '12 at 5:31 add comment  2 Answers  up vote 8 down
vote accepted  It depends on how you