jQuery UI 1.10 tabs
The release notes for jQuery UI 1.10.0 lists the API changes.
To handle a tab selection, you previously had to use the tab index and add a handler on the select event.
The select event is gone now. You use activate in the new API.
The index is gone too. Now you use the newPanel attribute on the tab parameter in your activate handler. You can use the newPanel’s selector attribute to determine which tabs was just selected. Oops. I mean activated.
1 2 3 |
function handleTabSelect(event, tab) { if (tab.newPanel.selector === "#tabone") { ... |
Play with it at JSBin:
Here is a Gist if you prefer that.
Hi,
I am working on SPring MVC with Jquery and I am looking for same thing. Created a tabbed ui and want to manage it through mvc. I am stuck almost the same situation where your post help me, how to call a action from here.
Really nice post, please keep posting.
Atul