摘要:
验证非法字符: 1functionvalidate(str){ 2if(str==null||str.length==0||str.replace(/(^\s*)|(\s*$)/g,"").length==0){ 3alert("名称不能为空"); 4 5returnfalse; 6} 7else{... 阅读全文
posted @ 2007-11-28 09:53 xixi8820 阅读(199) 评论(0) 推荐(0)
|
|||
|
摘要:
验证非法字符: 1functionvalidate(str){ 2if(str==null||str.length==0||str.replace(/(^\s*)|(\s*$)/g,"").length==0){ 3alert("名称不能为空"); 4 5returnfalse; 6} 7else{... 阅读全文
posted @ 2007-11-28 09:53 xixi8820 阅读(199) 评论(0) 推荐(0) |
|||