北大青鸟 调用函数 <FORM action=method="post"name="myform"> <P>第一个数<| NPUT name="num"type="text"> <BR>第二个数<| NPUT name="num2"type="text"> </P><P <INPUT name="addButton"type="button"value="t onClick="compute (+)" <INPUT name="subButton"type="button value= onClick="compute (-)" <INPUT name="mul"type="button value=X lClick="compute (" <INPUT name="div"type="button"value= onClick="compute (7)"> </P <P>计算结果< NPUT name=" result"type="text"> </P></FORM 15 ACCP V4.0ACCP V4.0 15 调用函数 <FORM action="" method="post" name="myform" > <P>第一个数<INPUT name="num1" type="text"> <BR>第二个数<INPUT name="num2" type="text"> </P><P> <INPUT name="addButton" type="button" value="+" onClick="compute('+')"> <INPUT name="subButton" type="button" value="-" onClick="compute('-')"> <INPUT name="mulButton" type="button" value="×" onClick="compute('*')"> <INPUT name="divButton" type="button" value="÷" onClick="compute('/ ')"> </P> <P>计算结果 <INPUT name="result" type="text"> </P></FORM>