Let’s imagine a page where 3 or more items are listed. The end user has to review each of these items. My current approach is that clicking on one item opens a modal with its data, and validating the item close the modal and the item is updated as ‘validated’ in the page. This work fines but it would be much better that validating the item in the modal would rather load the data of the following item. I could not find any way to access the page’s data in the modal’s script.
So my question: is there a way to keep the modal open and load data of the following item ?