Closed
Description
Add a section to the beginning of this article explaning the story of bind
, live
, delegate
, on
, and their respective handler removal methods. Explain the evolution of these methods through the various jQuery versions, and explain that by 1.7, they are all just aliases for .on.
Provide context on why users might have seen all the different syntaxes in different places on the web, depending on how recent the content is, but be clear about what the current best practise is.
For the existing content on $.fn.hover
and $.fn.toggle
explain how these methods do(n't) work as event names for event delegation (.on
) - that they bind directly to the target elements.