日期:2014-05-16  浏览次数:20374 次

js判断对象是否为空
/** Check whether string s is empty. */
function isEmpty(s)
{
return ((s == undefined || s == null || s == "") ? true : false);
}