Home › Forums › JavaScript › jquery on click events › Re: jquery on click events
March 12, 2013 at 2:44 am
#127819
Participant
If the amount of clicks will be ‘insignificant’ than you can simply use .click(function() {
. I would agree with doc that the naming conventions are a quite un-semantic. Whenever i am using a lot of JS i normally give the element an id and prepend ‘js-‘.
I suggest you give this article a good read.