html - trigger an element with jquery -


following situation. i'm using simple jquery slider, depending on tab click on changes html content. have following classes:

.tab1 .tab2 etc.

what is, simulate user-mouse-click on .tab2 can achieve jquery?

thanks in advance.

use .trigger() simulate event manually

$('.tab2').click() //or $('.tab2').trigger('click') 

form comments
problem .tab2 li element, click handler seems registered a element inside try

$('.tab2').find('a').click() 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -