取消页面按钮的enter按下事件
<script src="../../@Javascript/jquery-1.8.1.js"></script>
<script language="javascript" type="text/javascript">
$(function () {
$("*").each(function () {
$(this).keypress(function (e) {
var key = window.event ? e.keyCode : e.which;
if (key.toString() == "13") {
return false;
}
});
});
});
</script>