I am using story line and would like to read the content of a text box from javascript so i can print it.
but as the textbox is sometimes in flash how do i read the value then.
thanks for any help.
PS. i am trying to print the text that sits inside a text box, so i want to use JavaScript to read the value of the text box then i can add the value to an iframe and print the value inside that iframe. maybe there is a better way to just print what is inside the text box.
1 Reply
Hi Karl,
You do not have access to what is inside a textbox. What you do have access to is variables.
I suggest to put the content in a variable and the pull it into your java.
var player = GetPlayer();
var x = player.GetVar("textvariablename");
Cheers
Geert
This discussion is closed. You can start a new discussion or contact Articulate Support.