Why does my button click twice in jquery if I put it in submitHandler?
问题 I have a short form, you can see it here http://jsfiddle.net/azxpckg5/1/ and I have a problem - the way to reproduce it is to click the save button. Then there will appear another button called submit . when user clicks it - it disappears and it's fine. But when user repeats this procedure (clicks save again and submit again - he can see that the last click was repeated twice. I believe the error might be somewhere here: submitHandler: function (form) { alert("here!"); $(".overlay-boxify2")