我写了点测试,但是老不对,帮忙看看怎么回事,我要怎么写
<html>
<head>
<script type="text/jscript">
function compute(){
document.getElementById("result_1").value="1234";
document.getElementById("money_1").innerHTML="1234";
}
document.getElementById(ID)
</script>
</head>
<body>
<input type="text" class="money_1" id="money_1" value="123" />
<input type="text" class="result_1" id="result_1" value="123" disabled="disabled"/>
<input type="button" onChange="compute()" value="="/>
</body>
</html>
皈依舞
慕仙森