I have HTML input and button elements. I use the buttons to submit forms, open secondary windows, etc. The problem is, a single click is turning into 2 (and sometimes many more
for me it was caused by
$(function() { $('.some-element').click(function() { //event that fires twice }); //some exception-throwing code here });
jQuery was calling the anonymous ready function twice(?!) because of the exception so the click function would be bound twice.