见事件处理函数要求。
注意,这些元素上设置了与鼠标操作相关的三个事件处理函数。
Notice that these elements have three different mouse action-related event handlers.
现在我们已经准备好学习更多的事件处理函数的信息了。
然后把这个事件处理函数分配给onreadystatechange属性。
This handler function was then assigned to the onreadystatechange property.
定义一个函数以处理事件;特别是,要实现以下任务。
Define a function to handle the event; specifically, implement these tasks.
编写处理onclick事件的函数,见清单8。
Write the function for handling the onclick event, shown in Listing 8.
显示为处理事件而添加的函数的名称。
Displays the name of the function that is added to handle the event.
您的事件处理程序被调用时,该函数可能会消失。
By the time your event handler is invoked, the function might be gone.
这个命令使一个回调函数能够处理所有的打开的窗口的事件。
This command associates a callback to handle the events of the all open windows.
此方法触发beforetabchange事件,若处理函数返回false则取消tab切换。
This method fires the beforetabchange event which can return false to cancel the TAB change.
此方法触发beforetabchange事件,若处理函数返回false则取消tab切换。
This method fires the beforetabchange event which can return false to cancel the TAB change.
应用推荐