Split a variable

The script needs to be 'activated'... how do I do this? actionOnShow.JavaScript:splitItems or something?


Ok, ignore the previous post. It runs automatically... the textarea's are changed, but they are empty... I used the code below, and set the contents of the variable on the page before the page that runs the script.




I think it has something to do with the part :


//First you need to set up the lectora variable so you can use it in the function
Varlijst_MO.setByVar(Varlijst_MO);
var tempHolder = VarTheItems.getValue();

 


VarTheItems is not correct I think. Should it be Varlijst_MO ?


Thanks again!


 

Discussions have been disabled for this post