<html>
<head>
<script language="JavaScript">
<!--
function setText(){
document.myForm.myText.value = document.myForm.myText.value.toUpperCase();
}
-->
</script>
</head>
<body>
<form name="myForm">
Please Enter some text and click the Submit Button.<br>
<input type=TEXT value="Enter Text Here" name="myText">
<input type=BUTTON value="Submit" name="mySubmit" onClick="setText()">
</form>
</body>
</html>
|