Skip to content

georgeadamson/jQuery-on-event-binding-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

jQuery-on-event-binding-polyfill

jQuery .on() method support for older (pre v1.7) versions of jQuery.

Why? If you're stuck using an older version of jQuery, this little plugin provides the syntactic sugar of the .on() method found in v1.7+

How to use it: Include a tag for this script just after your jquery tag. Subsequent scripts can then bind events using the .on() syntax.

    <script>jquery.min.js</script>
    <script>jquery-on.min.js</script>

Note: This won't monkeypatch jQuery with a new jQuery.fn.on method if it is already present.

About

Pimp older versions of jQuery with an .on() method (pre v1.7)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published