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