Is there a trick to .tabs('select')?
Hello,
I have the following little bit of code that is supposed to reset the
loading URLs for my 3 tabs, load up the first tab, and then switch to
it. Everything works except for the last statement, the 'select',
which I thought was supposed to act as if you've clicked on the tab.
Is there a trick to getting this to work?
var $tabs = $("#uginfo > ul");
$tabs.tabs('url',0,'/upgrades/autocomplete.php?s='+sid
+'&o=p&t=bfx').
tabs('url',1,'/upgrades/autocomplete.php?s='+sid+'&o=p&t=sec').
tabs('url',2,'/upgrades/autocomplete.php?s='+sid+'&o=p&t=enh').
tabs('load',0);
$tabs.tabs('select',0);
Thank you,
Mark