• The event handlers for the onfocus and onblur events are rendered as shown in Listing 22.

    清单22显示了为onfocus和onblur事件呈现事件处理程序的方法。

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • When a UI component gains or loses the keyboard focus, it generates events that can be captured through the onfocus and onblur attributes.

    当UI组件获得或丢失键盘焦点,它将生成可以通过onfocus和onblur属性捕获的事件。

    youdao

  • 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属性添加到嵌套组件。

    youdao

  • Next, you'll see how to build a custom component that modifies the onfocus and onblur attributes of every nested component that contains <f:attribute name="helpOnFocus" value="..."> (see Listing 14).

    下面,您将看到如何构建自定义组件,它修改每个包含 <f:attributename="helpOnFocus"value="..." >的嵌套组件的onfocus和onblur属性(参见清单14)。

    youdao

  • Next, you'll see how to build a custom component that modifies the onfocus and onblur attributes of every nested component that contains <f:attribute name="helpOnFocus" value="..."> (see Listing 14).

    下面,您将看到如何构建自定义组件,它修改每个包含 <f:attributename="helpOnFocus"value="..." >的嵌套组件的onfocus和onblur属性(参见清单14)。

    youdao

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

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

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