标签:pass query lan live currently attaching value bind present
Description: Attach an event handler function for one or more events to the selected elements.
null
or omitted, the event is always triggered when it reaches the selected element.event.data
when an event is triggered.false
is also allowed as a shorthand for a function that simply does return false
.event.data
when an event occurs.The .on()
method attaches event handlers to the currently selected set of elements in the jQuery object. As of jQuery 1.7, the .on()
method provides all functionality required for attaching event handlers. For help in converting from older jQuery event methods, see .bind()
, .delegate()
, and .live()
. To remove events bound with .on()
, see .off()
. To attach an event that runs only once and then removes itself, see .one()
标签:pass query lan live currently attaching value bind present
原文地址:https://www.cnblogs.com/chucklu/p/11102329.html