斑竹,为啥不行了?
<script language="javascript">function up()
{
document.frm.s1.value=document.frm.s2.value.toUpperCase();
}
</script>
</head>
<body>
<form name="frm">
<input type="text" name="s1" value="" /><br /><br />
<input type="text" name="s2" value="" />
</form>