I am creating a Sitecore multipage form using sitecore 9, when clicking on next button for step 1 then for step 2 only dynamic markup rendered. Now wanted to trigger script on load for Step 2 dynamic markup.

there is a form tag where unique id appended for each steps, and 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 we can achieve?