Forum Discussion
Borg_Cube
8 months agoCommunity Member
Working with Javascript triggers - how to find button ID's and Classes (States)?
Hi,
I have a JS-script which should change the state of a button when a user enters a certain code into a text-entry field.
However, I'm unable to find the ID and classes of the button anywhere....
Nedim
6 months agoCommunity Member
In Storyline, you can add or remove the class "hidden" as shown in the example below.
myElement.classList.add("hidden") // hide element
myElement.classList.remove("hidden") // show element