Forum Discussion
AndrewHanley
2 months agoCommunity Member
Hi Jerry,
How I would do it is the last thing you tried "unsuccessfully".
The only problem was you passed it the wrong <id>
The ID is here:
<a class="m-nav-item pull-right hidden-xs" href="#" onclick="scormPlayer.next();" id="module_Next">
and shows as "module_Next", so I think this line should get you the reference you need:
let nextmodule = document.getElementById("module_Next");