Satch3000 Satch3000 - 3 months ago 11
Javascript Question

JQuery onchange in tabs event

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>

Answer

jQuery ui ???

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