Converting input to lowercase

renzlorenzz

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());}


renzlorenzz

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();"


Log in to post a reply.

Support

Forums