How can I add a tab in jquery-ui Tabs and then select it?

Posted by Bob on Stack Overflow See other posts from Stack Overflow or by Bob
Published on 2010-03-13T23:19:24Z Indexed on 2010/03/13 23:25 UTC
Read the original article Hit count: 133

Filed under:
|

I understand how to add a jquery-ui tab, and I understand how to select a tab by index number, but how can I both add a tab and then select it?

For example, in the following demo you can add a tab, but then you have to click on it for it to be displayed:

http://jqueryui.com/demos/tabs/#manipulation

I'm on jquery 1.4.2 and jquery-ui 1.8rc3.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui