$(".ui-tabs-nav").parent().children("ul").children("li").children("a
[href='#"+tab_id+"']").parent().remove();

Wow!  You got a whole genealogy going on there!  Can't you just use
the remove method of the tabs plugin:

.tabs( 'remove' , index )

Remove a tab. The second argument is the zero-based index of the tab
to be removed.

http://jqueryui.com/demos/tabs/#method-remove

Hth,

Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to