I have searched for this topic but couldn't find anything useful.
In my case I have a jQuery-ui button with a click event. This click event works fine, but it always gets invoked by pressing enter in a text-input-field.
Demo here: http://jsfiddle.net/vcfzJ/
Hope somebody can help. I made a workaround by checking event.target.nodeName
.