怎么用除法啊?
gddd 2003-08-01 05:41:37 <select name="amount" onchange="javascript:document.forms[1].money.value=this.value;document.forms[1].money.focus();
document.forms[1].money1.value=this.value(/100);document.forms[1].money1.focus();" style="color:blue;">
<input type="text" name="money1" maxlength="60" size="9" value="230">
<input type="text" name="money" maxlength="60" size="9" value="230">
以上代码实现根据选择不同的AMOUNT下拉菜单的变量,自动将变量变到MONEY1和MONEY的文本框里去.但现在要求MONEY或MONEY1的值,必须由AMOUNT的值除以100
请问如何实现