jquery on vs click methods

It’s not specifically worth replacing click(), as in the jQuery source it converts all the ‘shortcut’ event handlers (like click(), keyup() etc.) to on("event", fn) anyway.

Leave a Comment