I have a small script that parses html content to text that has been copied to a textarea form. This works fine using
code = document.form.html.value;
I want to also convert all text to lower case. Any ideas about how to convert all text to lower case?