Forum Discussion
nehabharti
2 years agoCommunity Member
Storyline JavaScript trigger
I have a textbox which has some text content inside it and I need to print it in console so that I can use those text further
WaltHamilton
2 years agoSuper Hero
Like Joe says, put the text into a variable, and It is available to you later. You can use it the way he did, as a message to the learner. (you can put other words with it, like Hi there, message.) Or you can use it in the condition part of a trigger. For example, Change state of rectangle to Red if message = "fire".