Forum Discussion
MattGalbraith1
9 years agoCommunity Member
I'm now trying to use the same script as my earlier post to grab the course ID (replacing StudentID with CourseID and learner with course in script), but can't seem to get it to return. I've tried to set up an alert like this:
alert(lmsAPI.GetCourseID());
But no pop-up message appears. I tried to add the var lmsAPI = parent line, but no luck. I double checked the variable name in the AICCFunctions.js file and there is a variable titled AICC_CourseID. Any idea why this isn't coming back for me, yet I get the StudentID with no problem?