• 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 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 onClick handler sets the current color of the board based on whether the user clicks the X or o button.

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

    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

  • For example, if you want the progress bar to start when the user clicks a button, you can add an onclick event to the button, using the code that you see in Listing 1.

    例如如果想要这个进展用户点击按钮开始,您可以个按钮上添加一个onclick事件使用您在列表1所看到代码

    youdao

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

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

    youdao

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

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

    youdao

  • To invoke this method, you need to handle the "button pressed" event for the operation buttons, which is done by simply assigning a method named onclick to each button. For example.

    调用方法需要处理操作按钮按钮按下事件通过每个按钮分配一个名为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

  • Listing 1.adding an onclick event to the user interface button.

    列表1 .添加一个onclick事件用户界面按钮上

    youdao

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

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

    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

  • 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

  • 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

  • The user variable is created and referenced by appending a period and name to the name of the scope object. For example, if a button has the following server-side onclick script.

    通过在scope对象名称后附加句点名称创建引用用户变量

    youdao

  • The user variable is created and referenced by appending a period and name to the name of the scope object. For example, if a button has the following server-side onclick script.

    通过在scope对象名称后附加句点名称创建引用用户变量

    youdao

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

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

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