Thursday, May 23, 2024
 Popular · Latest · Hot · Upcoming
45
rated 0 times [  52] [ 7]  / answers: 1 / hits: 70425  / 13 Years ago, fri, october 28, 2011, 12:00:00

Does anyone know how to fire an event when I change from one tab to the other in JQuery?



for example:



<li><a href=#tab-1 onclick=submitForm(); onchange=myJSHere();>Tab</a></li>

More From » jquery

 Answers
77

jQuery ui ???



$(#tabs).tabs({
select: function(event, ui) {
alert(PRESSED TAB!);
}
});

[#89403] Thursday, October 27, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
annie

Total Points: 483
Total Questions: 97
Total Answers: 107

Location: Belarus
Member since Sat, Jul 18, 2020
4 Years ago
;