[jQuery] jquery tabs: chaging the url of the tab after tabs have been loaded
Hi,
I'm using JQuery tabs with Ajax capabilities, conveniently found here
-- http://www.stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/.
I have two questions. After the tabs have been loaded, how do I
1. change the URL of one of the tabs
2. make that tab the selected tab without the user having to click on
it
?
Here's the JS I use to create the tabs:
var tabSelected = $('#tabcontent >
ul').tabs().bind('select.ui-tabs', function(e, ui)
{
...
}).bind('show.ui-tabs', function(e, ui) {
...
}).bind('load.ui-tabs', function(e, ui) {
...
}).data('selected.ui-tabs');
Thanks in advance, - Dave