01 2015 档案

摘要:在JavaScript中,0、""、null、false、undefined、NaN都为false,其余为true。(看过http://www.jb51.net/article/21339.htm来的) 几乎所有的语言中,&&与||的运算遵循“短路”原理。&&运算如果前面为假,就不再继续运算。... 阅读全文
posted @ 2015-01-22 22:13 木兰花 阅读(133) 评论(0) 推荐(0)
摘要:jQuery8293-8309行 1 jQuery.each( [ "get", "post" ], function( i, method ) { 2 jQuery[ method ] = function( url, data, callback, type ) { 3 ... 阅读全文
posted @ 2015-01-07 13:11 木兰花 阅读(112) 评论(0) 推荐(0)