how to get tab index by tab name in jquery?
I need to remove a specific tab with this command:
$ (tabContainer) .tabs ('remove', index);
The index must contain the correct tab closing order. the problem is that I generate the tabs programmatically, so the likelihood of having the wrong index is likely.
source
share