Select default tab programatically
I'm writing a PHP site where the tabs are defined before the program
picks up which tab it prefers to open so I can't use the 'selected'
option in the creation. How can I select a default tab as the rest of
the page is being built in PHP. Please be painfully specific. ;) I've
seen a lot of hints at what code needs to be used but so far my tests
have not been successful. The Accordion widget has exactly what I need
with the 'active' method, but tabs doesn't seem to have anything
similar.