Javascript trigger question

I currently use Adobe Captivate to design course, and Learndash as my LMS. To save user progress at the end of each section, I enable a javascript trigger to a button.

I know how to enable javascript to a button in AP, but does anyone know the code to use?



By default, ActivePresenter will save the user progress periodically to LMS (1 minutes). So you don’t need a button to do that.

If you want to create a “Finish Course” button, you can use the End Presentation action instead.