jfly/tnoodle — comment on commit c95772df884767c07f5f8545e9e79e9318eb5e0d
File: webscrambles/src/tnoodleServerHandler/webscrambles/scramblegen.html line 89
By jfly:

Could you change all listening functions to declare an actual javascript function, rather than a string of javascript?

For example, this

var clickfunction = "javascript:showRoundOptions('"+events+"');";
submitButton.setAttribute('onclick',clickfunction);

becomes

var clickfunction = function() { showRoundOptions(events); };
submitButton.setAttribute('onclick',clickfunction);