[jQuery] Tabs - select tab when creating a new remote tab

[jQuery] Tabs - select tab when creating a new remote tab


I'm using the UI Tabs (very nice).
I need to create a new remote tab and then select it, however the only
way I can see reading the documents is to select it by index, which
will not work for me as one or more new tabs can be created, so it not
possible to know in advance the index.
Is it possible to add a fragment-identifier to a tab created remotely,
or get the index of the newly created tab?
thanks