onclick
美
英 
例句
A user answering the question will trigger onClick event, forcing a post-back, and move the script to the next state.
回答问题后会触发一个onClick事件促使往回传递,并推动代码运行到下一个状态。
To do so, add an onclick event for clicking a blog post, which brings up a single blog posting with its comments.
为此,添加onclick事件以便能单击blogpost,这会显示出一个blogpost及其评论。
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作为一个参数直接传递到标记本身中。
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事件,只返回某个被禁用了的节点是否被单击。
A page has two buttons, each with an onclick event and a computed field.
页面有两个按钮,每个按钮有一个onclick事件和一个computed字段。
Again, the page has two fields bound to the requestScope variables field0 and field1, and the code is in a button onclick event.
同样,页面有两个绑定到requestScope变量field0和field1的字段,并且代码位于按钮onclick事件中。
Delete the code of the onclick event for the edit button and respecify it as an Open Page simple action.
删除编辑按钮onclick事件的代码并重新指定它为OpenPage简单操作。
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事件的事件处理方法。
The technique also follows the single choice principle of concentrating all the onClick handling in one place.
此技巧还遵循将所有onClick处理集中于一处的singlechoice原则。
Here the A tag has a on click attribute, which in JavaScript becomes a property of the A element.
这里面,onclick是A标签的一个属性,在JavaScript里面,它就成为这个A元素的一个属性。
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对象。
Now it's time to implement the OnClick event handler for the Generate Code button that was first shown in Figure 3.
现在,应该为图3中首次出现的GenerateCode按钮实现OnClick事件处理程序了。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
If you look at the HTML, you'll see that the event you deal with here is onClick.
查看HTML就会发现这里处理的事件是onClick。
Under the hood, the click-and-drag process starts with an onclick method of the target object.
在内部,点击-拖动过程从目标对象的一个onclick方法开始。
If the button type is normal, the JavaScript function specified in the onclick attribute is invoked.
如果按钮类型是normal,则调用在onclick属性中指定的JavaScript函数。
I use a custom tree Loader which is forced to use a "GET" http request and to assign on click handlers to the nodes which are created.
我新建了一个treeLoader对象,使得采用“GET”的http请求进行通信,然后将onclick处理函数分配在每一个新建的节点上。
And add the following line of code to the onclick event for the Replace document and Cancel buttons.
将以下代码行添加到Replacedocument和Cancel按钮的onclick事件。
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等等)和在发生事件时应该调用的方法的名称。
In JavaScript, you can reference this event using the onclick property of a button.
在JavaScript中,可以通过按钮的onclick的属性来引用该事件。
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事件,它们为此调用的是同一个脚本函数。
So you can change the event that's run on a button: you just assign a new function to the onclick property.
因此可以改变按钮触发的事件:只要赋给onclick属性一个新的函数。
Then, the onclick handler of each is pointed to the getImageDetails method.
然后,每个图像的onclick处理程序再指向getImageDetails方法。
The rails_iui helper also adds the JavaScript onclick event handler for the toggle div.
rails_iui助手还将为togglediv添加JavaScriptonclick事件处理程序。
The example in Listing 18 shows the onclick event emitted by a button being mapped to an event handler.
清单18中的例子显示一个按钮发出的onclick事件,该事件被映射到一个事件处理程序。
It is a widget-specific function specified in the Save button onclick method of the edit mode HTML markup.
这是编辑模式HTML标记中Save按钮onclick方法中小部件特定的函数。
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)。
The onClick handler sets the current color of the board based on whether the user clicks the X or O button.
onClick处理程序根据用户点击的是X还是O按钮设置面板的当前颜色。
This can be any client-side JavaScript event, such as onclick for a button, onblur for an input field, or onchange for a check box.
它可以是任何的客户端JavaScript事件,例如按钮的onclick,输入栏的onblur,或复选框的onchange。
A circle is drawn, and through the onClick element, it calls the function changeCol(evt) when clicked.
画出一个圆,通过onClick元素,在单击时让它调用函数changeCol(evt)。
For example, in most cases onclick represents a JavaScript event, readonly is a Boolean, and styleClass specifies the name of a CSS class.
例如,在大多数情况下,onclick代表一次JavaScript事件,readonly是一种Boolean值,而styleClass指定了CSS类的名字。
A developer could prevent this from happening by validating using WMLScript, using the onclick event.
一个开发人员可以通过使用WMLScript的验证来避免这个问题的发生(通过使用onclick事件)。
Listing 2 is some code for the onclick event of a button.
清单2是按钮的onclick事件的部分代码。
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所示。
By using the OnClick event handler, you can programmatically determine the coordinates where the image is clicked.
使用OnClick事件处理程序,可以以编程方式确定图像被单击的位置的坐标。
The snippet in Listing 17 wires a button's onclick event to the event handler within its tags.
清单17中的代码片段在标记中将一个按钮的onclick事件与事件处理程序相关联。
Expand the Mouse section in the pane on the left, and then click onClick.
展开左侧窗格中的Mouse部分,然后单击onClick。
Notice the onClick event specified on the button.
请注意按钮上指定的onClick事件。
Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick.
阐述一个基于浏览器的FormPOST如何变成一个服务器端的事件,如Button1_OnClick。
You want onclick, which is highlighted by default.
您需要onclick,它已经被默认高亮显示。