How to detect currently opened tab and pass its name to a text element?

0
I have a tab widget on the page. I need to change the standalone title text above the tab widget, to reflect the name of the currently opened tab. How can I implement it?  
asked
1 answers
1

One approach I would suggest is using combination of java script and css.

The tabs are rendered as <Li> tags, once you click a tag Mendix appends class – ‘active’ to that, you can use java script to get the contents in the child of li with a class – ‘Active’  and then you can copy this to a dummy placed on top.

https://stackoverflow.com/questions/20173101/copy-the-content-of-a-div-into-another-div

answered