var str = "abd def";
var arr = new Array();
arr = str.split(" ");
if(arr.length != 1){
alert("字符串含有空格!");
return false;
}
var str = "abd def";
var arr = new Array();
arr = str.split(" ");
if(arr.length != 1){
alert("字符串含有空格!");
return false;
}