<!DOCTYPE html>
<html>
<head>
</head>
<body>
<input type="text" id="input-text-id" onkeyup="KeyUp()">
<script>
function KeyUp()
{
it_id = document.getElementById("input-text-id");
it_id.value = it_id.value.toUpperCase();
}
/*
run:
every char typed in "input-text-id" will be converted to uppercase
*/
</script>
</body>
</html>