First, this is not a duplicate of: Generate random string/characters in JavaScript
I specifically want a string to change to random colours starting on green. I am writing in JS
function changeColor()
{
var change;
for( var i=0; i < 11; i++ )
{
change += script.charAt(Math.floor(Math.random() //Input ur suggestion here, I suspect it is the script variable and different colours
script = document.getElementById('txt');
script.style.color = "#33cc33";
}
}