1
What’s the difference between declaring an Event Listener with jQuery to pick up the click on an element this way:
$("#elemento").on("click", function() {
...
});
And in this other way:
$("#elemento").click(function() {
...
});
It’s the same?
It’s the same thing. The difference is that one is shorter than the other.
– Sam