Please login to start chat

onchange 1 (HTML DOM Events)

Created on : 25 Jun 2022, 11:35:58

<!DOCTYPE html>
<html>
<head>
<title>JS Code Testing</title>
</head>
<body>
<input type = "text" id = "fname" onchange = "jsFun()">
<script>
function jsFun(){
var x = document.getElementById("fname");
x.value = x.value.toUpperCase();
}
</script>
</body>
</html>

Comments:

No Commments to show

About Me
Blog and Ambitions
Terms and Conditions
Contact Me
Service and Guarantee
Customers and News
Carrers