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
Post a Comment