nextAttempt()
Load the next data row from the dynamic content table in the Item and displays it for the learner.
Note This method will load the very first dynamic content entry if it has reached the last index.
Examples
itemsApp.assessApp().item('my_item_reference').nextAttempt();
Arguments
None.
Return value
None (undefined
).
Related articles
- Using Dynamic Content and "Try Again" in Your Assessments
- The
dynamic_items
initialization option, which can be used to configure dynamic content. - The
dynamic
object, the object used to access methods related to dynamic content Items. - The
previousAttempt
method, the method used to load the previous row in dynamic content Items. - The
currentAttemptIndex
method, the method used to obtain the response index for the current attempt in the dynamic content table. - The
totalAttempts
method, the method used to obtain the total number of attempts for the current dynamic content Item.