onkeydown="if(event.keyCode==13) {方法();return false;}"