This function gets Executed when a user releases a key on the keyboard.
A function is triggered when user releases the key and it transforms character to upper case. Example
<p>This is the example of onkeyup event</p>
Username: <input type="text" id="fn" onkeyup="myFunction()">
<script>
function myFunction() {
var i = document.getElementById("fn");
i.value = i.value.toUpperCase();
}
</script>
</body>
</html>
0 Comment(s)