I have multiple classes on a page of the same name. I then have a .click() event in my JS. What I want to happen is the click event only happen once, regardless of multiple
I just had the same problem. In my case PHP code generated few times the same jQuery code and that was the multiple trigger.
Popraw / Zgłoś
(PHP MULTIPLE GENERATER NUMBERS generated also the same code multiple times)
My solution was to separate script in another php file and load that file ONE TIME.