awesome, thanks. can't believe i missed that one.

and as for the content of the tab? if i wanted a tab to always have
two textboxes, should i modify the template? and then who would i
access these two input boxes dynamically?

thanks heaps

paul

On Feb 21, 12:41 am, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
> Why don't you put the desired label in the first place?
>
> $('#tabs').tabs('add', '#new', 'Label');
>
> Other than that you could utilize the add callback:
>
> $('#tabs').tabs({
>     add: function(event, ui) {
>         // add additional html to the tab
>         $('span', ui.tab).html(...);
>     }
>
> });
>
> Or you can change the tabTemplate option and add that html there...
>
> --Klaus
>
> On 20 Feb., 06:01, Paul Georges <sinst...@gmail.com> wrote:
>
> > hey guys and gals,
>
> >http://docs.jquery.com/UI/Tabs
>
> > followed the above docs but couldn't quite add tabs correctly yet. i
> > can add a tab, yes, but then i can't change it's label or innerHTML.
> > how can i do this?
>
> > cheers!
>
> > Paul!

Reply via email to