trigger jquery click

Posted by dio on Stack Overflow See other posts from Stack Overflow or by dio
Published on 2010-01-07T10:11:02Z Indexed on 2010/06/02 7:03 UTC
Read the original article Hit count: 412

Filed under:
|
|
|

Hello everyone,

I use jquery to build treeview via ajax which has refreshed automatically every 5 second. And I want after building the tree, one of the branches to be selected automatically. But when I use $('#treeview li span.Running').click(); nothing happen.

I catch the click event using $('#treeview li span').live('click',function(){ .... });

I try with jQuery instead of $ and it was unsuccessful.

Thank you in advance. BR.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about event