Execute jQuery from ajax loaded page -
I am trying to use and load content from other pages.
The pages I try to load are the other jQuery functions and the problem is that only jQuery is executed for the first tab.
Any ideas will be appreciated.
I think you need to use the "active" event of jQuery UI tabs. For documentation:
$ (function () {$ ("#categoryTabs"). Tabs ({active: function (event, UI) {var current_tab = ui.newTab; // sure You have added the "Data-Tab-Value" tab for the HTML, for example
Comments
Post a Comment