Forum Discussion

SamClark's avatar
SamClark
Community Member
7 years ago

Exit SL via JavaScript

I'd like to write a script that alerts the learner and exits the course after learner acknowledgment.

I could do a window.close() but some LMS encapsulate the course so using the built-in SL EXIT trigger would be better. 

Is there a tried-and-true way to activate a trigger or otherwise invoke the SL EXIT from JavaScript?

17 Replies