You want onclick, which is highlighted by default.
您需要onclick,它已经被默认高亮显示。
Listing 1.adding an onclick event to the user interface button.
列表1 .添加一个onclick事件到用户界面的按钮上。
Using the immediate and onclick attributes of the JSF components.
使用JSF组件的immediate和onclick属性。
If you look at the HTML, you'll see that the event you deal with here is onClick.
查看HTML就会发现这里处理的事件是onClick。
You may be familiar with using events on a Web page by adding events such as onclick and onmouseover.
您可能已经熟悉了通过添加如onclick和 onmouseover 之类的事件在Web页面上使用事件。
In Wicket, just use the AjaxLink with the implemented onClick method, as shown in Listings 40 and 41.
Wicket中只使用具有已实现的onClick方法的AjaxLink,如清单40和41所示。
For example, instead of an onchange event for each edit box, use the onclick event of one button.
例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。
This time, the onclick event of the Link component initiates the Ajax request, as Listing 6 shows.
这时,Link组件的onclick事件初始化了Ajax请求,如清单6所示。
The example in Listing 18 shows the onclick event emitted by a button being mapped to an event handler.
清单18中的例子显示一个按钮发出的onclick事件,该事件被映射到一个事件处理程序。
And add the following line of code to the onclick event for the Replace document and Cancel buttons.
将以下代码行添加到Replacedocument和Cancel按钮的onclick事件。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
So you can change the event that's run on a button: you just assign a new function to the onclick property.
因此可以改变按钮触发的事件:只要赋给onclick属性一个新的函数。
Instead of just creating an tag, attach an onclick event to it and call the lightbox to show the large image.
不要只是创建一个标记,我们要将一个onclick事件附加到缩略图并调用lightbox来显示大图。
The onClick handler sets the current color of the board based on whether the user clicks the X or o button.
onClick处理程序根据用户点击的是X还是o按钮设置面板的当前颜色。
To disable the disabled nodes function, we will simply override the onClick to return for the disabled nodes.
要启用被禁用了的节点函数,只需覆盖onClick以针对禁用节点返回。
The technique also follows the single choice principle of concentrating all the onClick handling in one place.
此技巧还遵循将所有onClick处理集中于一处的singlechoice原则。
Any code that is in the onClick method is executed, including code to save the data to a database or to forward to a new page.
执行onClick方法中的所有代码,包括把数据保存到数据库中或转发给另一个页面的代码。
In a browser, events are typically generated in response to user actions: a button fires an ONCLICK event when the user clicks.
在浏览器中,通常为响应用户操作而生成事件:当用户单击按钮时,按钮产生一个ONCLICK事件。
The Refresh button refreshes the list of tables in the cbTable combobox, and its OnClick event handler is implemented as follows
Refresh按钮将刷新 cbTable combobox 中的表的列表,其OnClick事件处理程序的实现如下所示
The method shown in Listing 20 can be used to ignore the onClick event by simply returning if a disabled node was clicked on.
清单20 中所示的方法可用来忽略onClick事件,只返回某个被禁用了的节点是否被单击。
The onclick handler function named addToCart is responsible for updating the state of the cart through an Ajax call (see Listing 1).
名为addtocart的onclick处理函数负责通过Ajax调用来更新购物车的状态(请参阅清单1)。
When this menu is clicked (onClick) I instantiate a Window object through the Executions object using another zul called addCustomer.
单击这个菜单(onclick)时,通过另一个名为addcustomer的zul,我使用Executions对象实例化一个Window对象。
To do that, you first need to have an event handling method in the ManageCustomer controller for an "add" menuitem onClick event.
要完成这些,首先要在ManageCustomer控制器中有“add”菜单项的onClick事件的事件处理方法。
I can see inline onclick handlers on the elements, with the URL of the large image passed as an argument directly in the mark-up itself.
我还能想象到元素上的内联onclick处理程序,大图的URL作为一个参数直接传递到标记本身中。
scriptmethod : The event type (onClick, onChange, and so on) and the method name for the method that should be called in case of an event.
scriptmethod :事件类型(onClick、onChange 等等)和在发生事件时应该调用的方法的名称。
All the rectangles are set to respond to onclick, onmouseover, and onmouseout events, and all call the same scripted functions to do this.
所有矩形都设置为响应onclick、onmouseover和onmouseout事件,它们为此调用的是同一个脚本函数。
The Start and Stop buttons below the progress bar are plain JSF buttons that control the bar through their onclick events (see Listing 3).
进度工具条下面的Start和Stop按钮是普通的JSF按钮,通过onclick事件控制着这个工具条(参见列表3)。
For example, for the Add menuitem onClick event, the @Events qualifier can be supplied with an "add.OnClick" value, as shown in Listing 7.
例如,对AddmenuitemonClonclick事件,@Events 限定符值可以是 "add.OnClick" ,如 清单7 所示。
The Adobe Flex interface listens for the onclick event (for when the checkbox is selected) for removing an item from the to-do list (Figure 5).
AdobeFlex接口侦听从待办事项中删除项的onclick事件(选中复选框时)(图5)。
The code does not use the traditional onClick within the button but USES the Dojo events system to register a method to call upon loading of the page.
代码没有在按钮内使用传统的onClick,而是使用Dojo事件系统注册一个在装载页面时调用的方法。
应用推荐