代码如下:<html xmlns=”http://www.3lian.com/”><head><meta http-equiv=”Content-Type” content=”text/html; charset=gb2312′′ /><title>js判断输入是否为数字</title>[removed] function ischeckNum() { var num = document.getElementById(‘isnum’).value; if( num ) { if( !isNaN( num ) ) {