I don\'t understand the difference, they both seem the same but I guess they are not.
Any examples of when to use one or the other would be appreciated.
I like visual answers.
When you click #btn, two event handlers get called and they output what you see in the picture.
#btn
Demo here: https://jsfiddle.net/ujhe1key/