onblur

  • 网络事件;失去焦点;元素失去焦点时
onbluronblur
  1. Start with the onBlur function where the asynchronous server call is built .

    先来看看onBlur函数,异步服务器调用在该函数内构建。

  2. Select the onblur event in the list of events on the left side .

    左面事件列表中选择onblur事件。

  3. The onblur attribute of the nested component is also changed to clear the help message when the element loses the keyboard focus .

    嵌套组件的onblur属性也发生更改,以在元素丢失键盘焦点时清除帮助消息。

  4. As soon as you tab out of any input field in the table , JavaScript code attached to the onblur event runs .

    一旦焦点离开表中任意输入栏,就会运行与onblur事件联系的JavaScript代码。

  5. It then calls the jQuery blur () method , which binds a function to the onblur () event for the username field .

    随后调用jQueryblur()方法,后者将一个函数绑定到用户名字段的onblur()事件。

  6. Next , you 'll see how to build a custom component that modifies the onfocus and onblur attributes of every nested component that contains

    下面,您将看到如何构建自定义组件,它修改每个包含

  7. To do so , bind code to the username field 's onblur () event , which is triggered when the user 's cursor leaves the field .

    为此,将代码绑定到用户名字段的onblur()事件,该事件将在用户光标离开字段时触发。

  8. In this case , the custom component has already added the onfocus and onblur attributes to the nested components during the processing of a previous request .

    在这种情况下,自定义组件已经在处理前一个请求期间将onfocus和onblur属性添加到嵌套组件。

  9. You can use JavaScript to implement control events such as onclick , onchange , and onblur and page events such as afterPageLoad .

    可以使用JavaScript来实现控件事件(例如onclick、onchange和onblur)以及页面事件(例如afterPageLoad)。

  10. 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。