Converting input to lowercase

var res = str.toLowerCase();
I just found this but I don't know how to use it with this code {squiffy.set("buzzans1", jQuery("#buzzinput1").val());}

I found a way to make inputs into lowercase,.

<input type="text" onkeyup="this.value = this.value.toLowerCase();">

this is the easiest way I can find. just adding this line on your input. onkeyup="this.value = this.value.toLowerCase();"

This topic is now closed. Topics are closed after 60 days of inactivity.