[jQuery] Re: Remove a tab that contains some element

2009-11-18 Thread cPetru
Sorry for the delay. 1: More details: I created a page with tabs, and in some tabs I might have some elements that can produce events by them selfs. As a reaction to some events in some cases, I needed to close a tab. I could not now the index of the tab that was containing the obect that produced

[jQuery] Remove a tab that contains some element

2009-11-13 Thread cPetru
Hello I created some tabs dinamically and now I need to remove one, triggered by an element inside a tab (not tab-header, not the currently selected tab). I can not find a way to determine the index of the tab that contains a particular element (let's say table#Streets). Thank you very much.