function Check(test) { var input = /^[\s]*$/; if (input.test(tset)){ alert("输入不能为空"): return false; }