//判断字符是否为空
function isEmpty(obj){
return (typeof obj === 'undefined' || obj === null || obj === "");
}
function isEmpty(str){
if(str != null && trim(str).length > 0){
return false;
}
return true;
}
//判断字符是否非空
function isNotEmpty(){
if(str != null && trim(str).length > 0){
return ture;
}
return false;
}
//判断字符是否非空
function isNotEmpty(){
if(str != null && str.trim().length > 0){
return ture;
}
return false;
}