jquery delegate passing variable -



jquery delegate passing variable -

i want pass object of beingness clicked handler. this:

$selector.delegate('.test','click',func1( ?? )); //this reusable function function func1(obj){ //do obj ..... }

so in case, should pass $('.test') function. can give me hand here, lot.

use $(this) within func1. this object on event occurred.

jquery delegates

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -