• Using the immediate and onclick attributes of the JSF components.

    使用JSF组件的immediate和onclick属性。

    youdao

  • For example, instead of an onchange event for each edit box, use the onclick event of one button.

    例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。

    youdao

  • This time, the onclick event of the Link component initiates the Ajax request, as Listing 6 shows.

    这时,Link组件的onclick事件初始化了Ajax请求,如清单6所示。

    youdao

  • And add the following line of code to the onclick event for the Replace document and Cancel buttons.

    将以下代码行添加到Replacedocument和Cancel按钮的onclick事件。

    youdao

  • You may be familiar with using events on a Web page by adding events such as onclick and onmouseover.

    您可能已经熟悉了通过添加如onclick和 onmouseover 之类的事件在Web页面上使用事件。

    youdao

  • The example in Listing 18 shows the onclick event emitted by a button being mapped to an event handler.

    清单18中的例子显示一个按钮发出的onclick事件,该事件被映射到一个事件处理程序。

    youdao

  • Optionally, for better usability, add the following line of code to the onclick event for the edit button.

    为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。

    youdao

  • So you can change the event that's run on a button: you just assign a new function to the onclick property.

    因此可以改变按钮触发的事件:只要赋给onclick属性一个新的函数。

    youdao

  • 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事件,它们为此调用的是同一个脚本函数。

    youdao

  • 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)。

    youdao

  • 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)。

    youdao

  • 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事件处理函数让对应的屏幕出现在浏览器窗口中。

    youdao

  • But there's a slight twist: the onclick property wants to be fed a function reference — not the string name of a function, but a reference to the function itself.

    但是有点细微的地方:onclick属性需要提供函数引用——不是函数的字符串名称,而是函数本身的引用。

    youdao

  • For an SVG object to respond to a scripted event, the prefix on is added to the trigger names, so click becomes onclick, mouseover becomes onmouseover, and so forth.

    要让一个SVG对象对脚本中的事件作出响应,要在触发器名上加前缀on,这样click就变为onclick,mouseover就变为onmouseover,等等。

    youdao

  • Then, submitForm() returns false so that the onclick expression of the Send button can return false, indicating the Web browser must not submit the form data to the server.

    然后,submitForm()返回false,因此Send按钮的onclick表达式返回 false,指示Web浏览器不要将表单数据提交到服务器。

    youdao

  • A button has an argument named onclick whose value is a Callback, a snippet of imperative application logic to be executed when the event occurs. In this particular case two things happen.

    按钮拥有名为onclick的参数,它的值是Callback,当事件发生的时候,就会执行一段命令式的应用程序逻辑。

    youdao

  • In general, you can pass information from the server runtime to the browser by embedding a server-side script in the client-side code. The following is a client-side onclick event for a button.

    通常,通过在客户端代码中嵌入服务器端脚本,可以将信息从服务器运行时传递到浏览器。

    youdao

  • If you look at the HTML, you'll see that the event you deal with here is onClick.

    查看HTML就会发现这里处理的事件是onClick。

    youdao

  • In Wicket, just use the AjaxLink with the implemented onClick method, as shown in Listings 40 and 41.

    Wicket中只使用具有已实现的onClick方法的AjaxLink,如清单40和41所示。

    youdao

  • The onClick handler sets the current color of the board based on whether the user clicks the X or o button.

    onClick处理程序根据用户点击的是X还是o按钮设置面板的当前颜色。

    youdao

  • 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方法中的所有代码,包括把数据保存到数据库中或转发给另一个页面的代码。

    youdao

  • In a browser, events are typically generated in response to user actions: a button fires an ONCLICK event when the user clicks.

    在浏览器中,通常为响应用户操作而生成事件:当用户单击按钮时,按钮产生一个ONCLICK事件。

    youdao

  • 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事件处理程序的实现如下所示

    youdao

  • 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事件的事件处理方法。

    youdao

  • 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 等等)和在发生事件时应该调用的方法的名称。

    youdao

  • 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事件系统注册一个在装载页面时调用的方法。

    youdao

  • The final step - also integrated in the "Generate Code" OnClick event handler - is the creation of the corresponding.pas file with the component declarations.

    最后一步(也集成在“GenerateCode”OnClick事件处理程序中)是创建包含组件声明的相应的.pas文件。

    youdao

  • Fixing that particular problem lies in defining an event handler for the button's "onClick" event, again just like what a developer would write for an HTML form.

    修正这个问题,只要给按钮的“onClick ”事件定义一个事件处理器就可以了,跟编写HTML表单是一样的。

    youdao

  • It can be made to start based on an event such as onClick by setting the animator tag's start attribute to false and calling the doStart method on the animator object.

    另外,还可以使动画根据某个事件,例如onClick 来开始,方法是将animator标记的start属性设为false, 然后调用 animator 对象的doStart 方法。

    youdao

  • The attributes (like background, alink, bgcolor, etc.) and events (like onClick, onDblClick, onKeyPress, etc.) of this HTML element can be set using the getter/setter methods of this class.

    这个HTML元素的属性 (如background、alink、bgcolor等)和事件 (如onClick、onDblClick、onKeyPress等)可以用这个类的getter/setter方法设置。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定