My goal is to use the jQuery event .keyup() to convert inputted lowercase chars to uppercase.
How can I achieve this?
Plain ol' javascript:
var input = document.getElementById('inputID'); input.onkeyup = function(){ this.value = this.value.toUpperCase(); }
Javascript with jQuery:
$('#inputID').keyup(function(){ this.value = this.value.toUpperCase(); });