Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab select event not working for jQuery 1.8.3

I am trying to get the tab select event fired for quite some time for the jQuery 1.8.3 but not sure why it can't. I fiddled with jsfiddle and have working mockups but when I apply those changes to my jquery file - it doesn't work.

The only way remains is to upgrade the version to newest but I would prefer not to introduce this change for now because we are in final stage of deployment to Prod.!

enter image description here]![enter image description here

like image 835
kulNinja Avatar asked May 13 '13 20:05

kulNinja


1 Answers

"activate" worked for me! As Kevin B mentioned for JQueryUI- 1.10 select event is no more!

$('#tabs').tabs({
    activate: function (event, ui) {

        alert("hi");
    } 
});
like image 115
kulNinja Avatar answered Sep 19 '22 10:09

kulNinja