[jQuery] Re: Select tab from link

2010-01-17 Thread CMI_Guy
var hit = this.id.match(/^link(\d+)$/); >                 if (hit && lit.length == 2) { >                        $tabs.tabs('select', hit[1]); >                        return false; >                 } >         }); > > }); > > On Jan 16, 5:59 pm, CMI_Gu

[jQuery] Re: Select tab from link

2010-01-17 Thread CMI_Guy
dy(function(){ >         var $tabs = $("#tabs").tabs(); >         $('a[id^='link').live("click", function() { >                 var hit = this.id.match(/^link(\d+)$/); >                 if (hit && lit.length == 2) { >                        $tabs.tabs('select&

[jQuery] s

2010-01-17 Thread CMI_Guy
s

[jQuery] Re: Select tab from link

2010-01-16 Thread CMI_Guy
StephenJacob, Sloppy fix. But works. $(document).ready(function(){ var $tabs = $("#tabs").tabs(); $('#link0').click(function() { // bind click event to link $tabs.tabs('select', 0); // switch to first tab return false; }); }); $(document).r