I am creating a Sitecore multi step form using sitecore 9, when I click on the next button for step 1 only then for step 2 dynamic markup is rendered. Now wanted to trigger a script on load for Step 2 dynamic markup.
There is a form tag where unique id is appended for each steps, and a common class attribute value for all steps in form tag as well.
Let's say <form id="GUID" class="common">dynamic markups</form>
Any idea that how can we achieve this?