aebar
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Another workaround that works this time 🙂
<script> function toEstimationTab(){ document.querySelectorAll('[href="#tabs_desc_1562_2"]')[0].click();} </script> <a href="javascript:void(0)" onClick="toEstimationTab();"><strong>Visitez l'encart "Mon estimation personnalisée"</strong></a>By the way, this used to switch from one tab to another through a link, maybe it would be useful for other people.
- This reply was modified 9 years, 6 months ago by aebar.
I tried also a workaround :
<a href="javascript:void(0)" onClick="document.querySelectorAll('[href=& #034;#tabs_desc_1562_2& #034;]')[0].click();"><strong>Visitez l'encart "Mon estimation personnalisée"</strong></a></p>It works, but only one time. If I edit the tabs and update it, the browser is not able to interpret correctly the javascript code since the double quotes are not escaped anymore.
Viewing 2 replies - 1 through 2 (of 2 total)