<input type="text" onkeydown="if(event.keyCode==13) {alert('回车');return false;}">