Tab selecting
Hello how to get the name of active tab?
Easy enough: http://jsfiddle.net/u3uyyocp/1/
JS will add the class active to the active tab, so grabbing said text is very simple: $("#tabs>.item.active").text()
Just remember to craft your selector to point to the correct container for the tabs, since pages may have several tab groups
thank you!
On 27 January 2015 at 16:00, Patrick Hennessy [email protected] wrote:
Easy enough: http://jsfiddle.net/u3uyyocp/1/
JS will add the class active to the active tab, so grabbing said text is very simple: $("#tabs>.item.active").text()
Just remember to craft your selector to point to the correct container for the tabs, since pages may have several tab groups
— Reply to this email directly or view it on GitHub https://github.com/Semantic-Org/Semantic-UI/issues/1722#issuecomment-71604414 .