Handles the event when the OK button is clicked.
处理单击ok按钮时的事件。
Handles the event when a menu item is clicked.
处理单击菜单项时的事件。
Event listeners are then added to process the keystrokes in the text area, as well as executing the search when the Submit button is clicked.
然后添加事件侦听程序以处理文本区域中的击键,并且在单击submit按钮后执行搜索。
Whereas JSF gives you a host of event options -- menu item selected, button clicked, etc. -- most Model 2s rely on the more simple "request received."
尽管JSF给了您很多事件选项(菜单项选择、按钮单击,等等),但是大多数Model2依赖于更加简单的“请求接受”。
You then use Dojo to associate an event handler for when the button is clicked.
然后可以使用Dojo为按钮点击关联一个事件处理函数。
When one of these menu text items is clicked, then the corresponding onclick event handler makes the corresponding screen appear in the browser window.
当单击这些菜单文本项时,对应的onclick事件处理函数让对应的屏幕出现在浏览器窗口中。
When clicked, this trigger throws a click event, which is caught by the tag event handler.
当被点击时,该trigger抛出click事件,该事件由标记事件处理程序捕捉。
The code in the host page that receives an ItemCommand event is passed the instance of the ContextMenu which fired the event and the command name associated with the clicked item.
页面上的代码将获得两部分内容:引发事件的ContextMenu实例;与点击项相关的commandname。
For example, a Button control contains a Click event that is raised when the Button is clicked.
比如,按钮有单击事件。
VS will then automatically create a stub event handler implementation in our code-behind class file. We can use this event handler to update the Button's content with a new message when it is clicked.
然后VS就会自动地在我们的后台代码类文件中创建一个占位的事件处理函数实现。
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事件,只返回某个被禁用了的节点是否被单击。
This can happen when a menu command is selected, when a button is clicked, or when any other event occurs.
在选取某个功能表命令,按下按钮或是任何其他事件发生时,可能会出现这种情形。
However, if the control or hot spot is configured to perform a postback, you can write a handler for the event and determine which hot spot was clicked.
不过,如果控制项或作用点是设定为执行回传,则您可以写入事件的处理常式,并判断所按下的是哪一个作用点。
However, if the control or hot spot is configured to perform a postback, you can write a handler for the event and determine which hot spot was clicked.
不过,如果控制项或作用点是设定为执行回传,则您可以写入事件的处理常式,并判断所按下的是哪一个作用点。
应用推荐