Using Events in jQuery
As we’ve previously seen in our Introduction to Events, adding event listeners is fairly easy. The question then becomes, when would you need to use them? And to what can we attach them? Well, we can attach them to any visible element. So, for example, tags are not going to be useful, however divs, spans,…