For example, when the JS code is set to respond to the Enter key of the
tag to trigger an event, according to the bubbling event principle, the event will be transmitted to the
$(document).keydown(function(event){ switch(event.keyCode){ case 13:return false; } });
However, if there is a button on the page, the form will also be submitted in the Opera browser. This is because the button is in the generated HTML The code is of submit type. The solution is to set UseSubmitbehavior="false" in the button so that the button is of button type in the HTML code generated on the page.