Forum Discussion
AyseSahin-3327f
3 years agoCommunity Member
Javascript not working on the LMS
Hello, I have integrated Javascript into my storyline (and one line into "story.html). It works when I open it locally (once it's been scormed and I click on story.html).
However, IT DOES NOT WORK...
HenryRYng-d620c
4 months agoCommunity Member
RebeccaPartr679 your javascript doesn't use jquery so you don't have the same issue as the other user was challenged with (no need to alter index_lms.html to include jquery library) .. you just need a variable "TODAYSDATE" and a javascript trigger with your code. BUT at the start of it you are missing: var player = GetPlayer();
- HenryRYng-d620c4 months agoCommunity Member
oh where you have var player = GetPlayer(); is fine (just in time before you need it)