Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3790
simulate an igTree click?
posted

How can you do this? I inspected the elements and no click even exists, is it in a class?

Tried this

 var node = $(this.tree.getUIDiv().igTree( "findNodesByText", Xnorm ) );
        node[0].element.addClass( 'ui-state-highlight' );
        node.trigger('click');
        node[0].trigger('click');
        node[0].element.trigger('click');

Is this possible?

update: looks like no click event is there but I do see a redirect link to #, _self. I know that is used for refreshes and what not. Is there a way to simulate that?