【单选题】在HIML页面中包含一个按钮控件 mybutton,如果要实现点击该按钮时调用己定义的 Javascript函数 compute,要编写的HML代码是()
A.< input name=”mybutton”type= "button” onBlur=” compute()"value=”计算”>
B.< input name=”mybutton”type=" button” on Focus=”compute()” value=”计算”>
C.< input name= “mybutton”type="button" onClick=" function compute()" value=”计算”>
D.< input name=”mybutton" type=”button” onClick= “compute()”value=”计算”>
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)