trigger jquery click
- by dio
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.