Scenario 2

Because many of the learners are at their jobs when participating in the content, the project requires that the learner can suspend the attempt, leave the content, but return with all data from previous attempts available. Use the suspend value of the data model, Exit, to accomplish this.

Complete the following code.

function onUnloadAction()
{
     // exit the application but keep the state of the learner activity
     SetValue( "cmi.exit"," " );

     // terminate the activity session
     Terminate( "" );
}

Click after you complete this exercise.