Attributes for a Tab

Attributes for a Tab


Is there any way I can add a tab programatically to the list that has
attributes?
Currently I use
$(".selector").tabs("add", "#div", "Title");
and there is no way to add an attribute to the tab directly. I want to
be able to get an attribute when the "select" function is called.
Thank you,
Nick