[jQuery] Re: ui.tabs - appending multiple new tabs

2008-04-02 Thread rolfsf
In partial answer to my own question, I wrote this, which seems to work: $('#newTab').click(function() { var $tabs = $('#container > ul.tabs-nav').tabs('length'); var tabNum = ($tabs + 1);

[jQuery] Re: ui.tabs - appending multiple new tabs

2008-04-02 Thread Klaus Hartl
On Apr 2, 8:25 pm, rolfsf <[EMAIL PROTECTED]> wrote: > Adding (appending) new tabs in ui.tabs is pretty straightforward, but > I notice in the example:http://stilbuero.de/jquery/tabs_3/#container-9 > > that if I append multiple new tabs, they are all given the same ID > (which won't work well in r