摘要:
http://stackoverflow.com/questions/306583/this-selector-and-childrenhttp://stackoverflow.com/questions/1051782/jquery-this-vs-thisjquery构造函数接受第二个参数来重写选择的上下文如:jQuery('img',this);等同于jQuery(this).find("img");如果图片是点击的元素的后代(子级),则可以这样使用jQuery(this).children("img"); 阅读全文
posted @ 2012-10-28 16:48
程序员阿呆
阅读(257)
评论(0)
推荐(0)
摘要:
学习资料:1:http://www.w3school.com.cn/js/jsref_prototype_date.asp2:http://stackoverflow.com/questions/4083351/what-does-jquery-fn-mean3:https://groups.google.com/forum/?fromgroups=#!topic/jquery-dev/ikxND4njKLs一:javascript的prototype 属性使您有能力向对象添加属性和方法二:jQuery.fn is defined shorthand for jQuery.prototype 阅读全文
posted @ 2012-10-28 01:55
程序员阿呆
阅读(2425)
评论(0)
推荐(0)