JavaScript空判断

if(backInfo != "" && backInfo != null && typeof(backInfo)!="undefined"){
               alert(backInfo);
           }

 

posted @ 2016-01-20 15:03  Luca-  阅读(208)  评论(0)    收藏  举报