Is there any way to take a string in one text box and randomize the case of each character (Upper and Lower), then place it in a new text box?
Here is my function:
function calltext() {
regulartext = reg_text.length;
for (i=0; i<regulartext; i++) {
j = Math.ceil(Math.random(2));
if (j == 1) {
new_text += reg_text.charAt(i).toUpperCase;
} else if (j == 2) {
new_text += reg_text.charAt(i)toLowerCase;
}
}
}
Thanks for any and all help