Axel Richter: oder HTML - automatisches Großschreiben bei <input>-feld

Beitrag lesen

<html>
<head>
<title></title>
<script language="JavaScript">
<!--
function machgross() {
  var inhalt = document.myForm.eingabe.value;
  document.myForm.eingabe.value=inhalt.toUpperCase();
}
//-->
</script>
<noscript></noscript>
</head>
<body >
<form name="myForm" >
<input type="Text" name="eingabe" value="" size="30" onKeyup="machgross();">
</form>
</body>
</html>

Probier mal das. IE machts jedenfalls.

Gruß

Axel