onclick
onclick 双语例句
You may be familiar with using events on a Web page by adding events such as onclick and onmouseover . 您可能已经熟悉了通过添加如onclick和onmouseover之类的事件在Web页面上使用事件。 You want onclick , which is highlighted by default . 您需要onclick,它已经被默认高亮显示。 Like built-in DOM events such as onclick and onmouseover , custom events can have callback handlers applied to them . 与诸如onclick和onmouseover这样的内置DOM事件类似,定制事件也能够让回调处理程序应用于它们。 For example , instead of an onchange event for each edit box , use the onclick event of one button . 例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。 Optionally , for better usability , add the following line of code to the onclick event for the edit button . 为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。