function multButton_onClick() //Function is called when the multiplication script button is clicked. { //First operand and second operand are unformatted number fields on a form. var f1=document.GrooveFormBase.FirstOperand.value; var f2=document.GrooveFormBase.SecondOperand.value; //Temporarily store result of multiplication. var f3 = f1* f2; //Assign the value in f3 to an unformatted number field "Result" which is on the form. document.GrooveFormBase.Result.value = f3; }
声明:欢迎各大网站转载本站文章,还请保留一条能直接指向本站的超级链接,谢谢!
时间:2007-05-18 09:19:59,点击:65824
【声明】:以上文章或资料除注明为Office自创或编辑整理外,均为各方收集或网友推荐所得。其中摘录的内容以共享、研究为目的,不存在任何商业考虑。如有任何异议,请与本站联系,本站确认后将立即撤下。谢谢您的支持与理解!
相关评论
我要评论
评论内容
相关文章
推荐文章