Category: Event Handler Attachment

Category: Event Handler Attachment

.bind()

Attach a handler to an event for the elements.

.delegate()

Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.

.die()

Remove event handlers previously attached using .live() from the elements.

jQuery.proxy()

Takes a function and returns a new one that will always have a particular context.

.live()

Attach an event handler for all elements which match the current selector, now and in the future.

.off()

Remove an event handler.

.on()

Attach an event handler function for one or more events to the selected elements.

.one()

Attach a handler to an event for the elements. The handler is executed at most once per element per event type.

.trigger()

Execute all handlers and behaviors attached to the matched elements for the given event type.

.unbind()

Remove a previously-attached event handler from the elements.

.undelegate()

Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/events/event-handler-attachment

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部