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

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -