Tabs: How to change the label

Tabs: How to change the label


Hello,
i've written a small function to open a link in the first tab....
function loadPage(url)
{
    $("#content").tabs("url", 0, url);
    $("#content").tabs("select", 0);
    $("#content").tabs("load", 0);
}
The only problem is, that i can't change the label of the tab to match
the new content. I didn't find any hints in this group yep. Anyone has
an idea?
Thanks,
Tobias