Sizzle系列之 setDocument
摘要:setDocument源码解释:/*** Sets document-related variables once based on the current document* @param {Element|Object} [doc] An element or document object to use to set the document* @returns {Object} Returns the current document*/根据参数中给定element或document object来设置documetn,最后返回document用到的一些element或document
阅读全文
posted @
2014-04-08 15:13
challengeself
阅读(148)
推荐(0)
jQuery 中的Data
摘要:jquery 中的缓存机制:1、jquery.data(key,value)2、$().data(key,value) $().removeData(key)
阅读全文
posted @
2014-04-07 16:28
challengeself
阅读(118)
推荐(0)