摘要: 2.1.//判断输入内容是否为空 function IsNull(){ 1. var str = document.getElementById('str').value.trim(); 2. if(str.length==0){ 3. alert('对不起,文本框不能为空或者为空格!');//请将 阅读全文
posted @ 2016-06-07 15:31 宇宇宇wy 阅读(134) 评论(0) 推荐(0)