屏蔽回车键JAVASCRIPT...
onKeypress='if (event.keyCode==13) return false;'
只输入数字
if (event.keyCode<45 || event.keyCode>57) return false;
if (event.keyCode<45 || event.keyCode>57) return false;
http://www.68asp.com/Article/Javascript/200409/165.html