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

判断JS是否为空

js判断是否为空

var a= null;
if (!a&& typeof(a)!="undefined" && a!=0)
{
??? alert("is null");
}