判断输入文本是否不存在或为空

function textIsNullOrEmpty(textValue) {
return (textValue == undefined || textValue == null || $.trim(textValue) == "");
}

原文地址:https://www.cnblogs.com/mmit/p/14116849.html