摘要:
if ( callbackfun != "undefined" ) { callbackfun();}//发现判断不出来,最后查了下资料要用typeof//方法:if ( typeof(callbackfun) != "undefined" ) { callbackfun();}typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"、"function"、"undefined 阅读全文
posted @ 2013-01-30 15:26
yun007
阅读(13172)
评论(1)
推荐(0)
浙公网安备 33010602011771号