ScottMarcus
5 months agoCommunity Member
Accessing Text Entry Elements in JavaScript by ID
I have a JavaScript trigger set up in StoryLine 360 that locates a particular text entry (<input> element in HTML) field in order to validate it. I retrieved the HTML ID of the element by using the "Inspector" feature (browser dev tools) while previewing my slide.
This is all working as expected.
My question is: Will the IDs of the rendered HTML elements stay as they are in preview mode as long as I don't modify the slide in the future? Or, in other words, can I count on the HTML IDs remaining constant over time?