Senior JavaScript Trainer and Developer Ben Alman shows you how to optimize event handlers in jQuery using lazy evaluation, event delegation, .each and .data.
See the code in this gist (https://gist.github.com/cowboy/4773621).
Watch it first: The Importance of Caching jQuery Selections (http://bocoup.com/education/online/sc...)
More Bocoup screencasts: https://bocoup.com/screencasts
Watch video More Efficient Event Handlers in jQuery, with Ben Alman online without registration, duration hours minute second in high quality. This video was added by user BocoupLLC 02 December 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 941 once and liked it 17 people.