我想将参数“Min”发送到“时间”形式的文本框。但我不知道我该怎么做......
<html>
<script language="javascript">
tid = 0;
sumcost=400;
todaycost=50;
var Min=(sumcost-todaycost);
alert(Min);
</script>
<form name="time">
<div align="center">
<script language="JavaScript">
document.write('<input style="FONT-WEIGHT: bold; bo ?rder: none; color:#CC0000 ; FONT-SIZE: 14pt; TEXT-ALIGN: center;" name=result size=30 value="Minus1()">');
</script>
</div>
</form>
</html>