get last clicked tab index in jquery ui tab

Posted by Hunt on Stack Overflow See other posts from Stack Overflow or by Hunt
Published on 2010-05-23T04:29:47Z Indexed on 2010/05/23 4:41 UTC
Read the original article Hit count: 337

Filed under:
|

Hi,

I am using JQuery UI tabs , to get the current selected tab i am using ui.index but i want an index of last clicked tab.

for example, initially tab 1 is loaded after that if i click tab 3 then in show method i can fetch tab 1's index and the same way if i click on tab 1 then i can fetch tab 3's index.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui