<script language="javascript" type="text/javascript">
// 禁用页面中的回车键
function form_onkeydown(){
//alert(window.event.srcElement.tagName);
if(event.keyCode == 13&&window.event.srcElement.tagName!="TEXTAREA")
{
event.returnValue=false;
}
}
</script>
<body οnkeydοwn="form_onkeydown();" >
</body>