日期:2014-05-16 浏览次数:20406 次
JavaScript里面判读为空是 if(username.length == 0 &&username!="null"){ alert("username:"+username); } 而不是 if(username!=""&&username!=null){ alert("username:"+username); }