I am not calling the function using an interactive element, but am calling it later in the script. I did the same with the following function, and that one works:
Quote:
function rollDice(){return Math.floor(6*Math.random())+1};
|
I agree that the JS support is limited, but I'm just trying to figure out how limited exactly, and how to escape the "<" sign