$("#tabs").data('disabled.tabs', [1,2]) as well as $("#tabs").tabs ({ disabled: [1,2] }) both do work fine for me.
--Klaus On 9 Jan., 12:47, tesdev <tesde...@googlemail.com> wrote: > Using jquery.ui-1.6rc4\jquery.ui-1.6rc4\demos\tabs\default.html as a > base > Getting there... ui-state-disabled is assigned but... > line 11 ... > $(function() { > $("#tabs").tabs(); > // tried 3 disable variations from different sources > //$("#tabs").data('disabled.tabs', [1,2]); > $("#tabs").tabs("disable", 1); //works > $("#tabs").tabs("disable", 2); //works > //$("#tabs").tabs({disabled: [1,2]}); > }); > The array versions dont work - should they in this context? > Danny > > On Dec 31 2008, 5:26 pm, Klaus Hartl <klaus.ha...@googlemail.com> > wrote: > > > No suggestions unless you show us some code... > > > --Klaus > > > On 31 Dez., 08:11, JasonR <jbra...@yahoo.com> wrote: > > > > Hello, > > > I have some content and am using the tabs widget to reload without > > > refreshing. Everything is working fine except for one problem...the ui- > > > tabs-disabled class is not being assigned to any of the tabs. > > > Whichever tab I click is assigned the ui-tabs-selected class, and the > > > tab adopts the styles for that class. But my styles for the disabled > > > tabs are not showing up. Checking in Firebug I can verify that the > > > class is not being assigned. > > > > Any suggestions? Thanks.