2018年3月14日
摘要: 一、$.fn.method()=function(){}和$.fn.extend({})的比较 jQuery.fn jQuery.prototype 1.$.fn.method()=function(){}的调用把方法扩展到了对象的prototype上,所以实例化一个jQuery对象的时候,它就具有 阅读全文
posted @ 2018-03-14 15:59 琪琪伤感 阅读(38006) 评论(0) 推荐(5)