Easy jQuery - The .on() event method (4)



0
1375

Welcome to tutorial number 4 of the Easy jQuery series part of EasyProgramming.net! In the last tutorial, we looked at some basic event handler methods in jQuery. Today, we're going to focus on just one event method but show you how you can listen for every event using just this one method. This is the on() event method. We're going to pretty much recreate everything in the last tutorial with the on event method. It's easy and powerful and it's newer than the event methods that we looked at last time. We'll see more of its power in the next tutorial where we'll cover sending data to your event method as well as an example of event delegation which will be very useful! To fork the fiddle and follow along: https://jsfiddle.net/easyjs/jsksfgrj/ For more information, please visit https://www.EasyProgramming.net to view my other programming tutorials! Find videos of C++ tutorials, Excel tutorials, JavaScript Tutorials, and jQuery tutorials. I hope you enjoy the video and if you have any questions, please ask in the comments below or on EasyProgramming.net. If you have any requests feel free to let me know. Thanks for watching and remember to subscribe! ----------- Subscribe on YouTube: https://www.youtube.com/c/nazmusnasir Support me on Patreon: https://www.patreon.com/nazmus Follow me on Twitter: https://twitter.com/NazmusN Like me on Facebook: https://www.facebook.com/EasyProgrammingNet Follow me on Google+: https://plus.google.com/+NazmusNasir Check out my Github: https://github.com/naztronaut

Published by: Nazmus Nasir Published at: 6 years ago Category: آموزشی