Help with arrays
I'm spending an eternity trying to figure out how to perform a simple action, so I hope someone can help me.
I just want to use JavaScript to create a list of comma-separated text values, and then display one of these values (according to its position). I know how to display when there's only one value in a variable - but I think this requires an array.
Example:
var = animal
the values are: cat, dog, snake
and I want to
setVariableValue "animal" to display the second value ("dog").
I've been learning javascript, but can't adapt any of the examples to work for Captivate.
Sorry for the basic question. Thanks.
Bill
