Click event on button is trigged when submitting a form with enter
If you change your button to be <input type="button"...
then your events will behave properly... here is the fiddle:
Working Fiddle
If you change your button to be <input type="button"...
then your events will behave properly... here is the fiddle:
Working Fiddle