I am working with HTML and JQuery. Now I am trying onkeyup in HTML. But It doesn't worked. HTML:
<p>A function is triggered when the user releases a key in the input field. The function transforms the character to upper case.</p>
Enter your name:
JS;
function myFunction() {
var x = document.getElementById("fname");
x.value = x.value.toUpperCase();
}