摘要: 一、$.fn.method()=function(){}和$.fn.extend({})的比较 jQuery.fn jQuery.prototype 1.$.fn.method()=function(){}的调用把方法扩展到了对象的prototype上,所以实例化一个jQuery对象的时候,它就具有 阅读全文
posted @ 2019-04-22 11:52 wangchaonan 阅读(232) 评论(0) 推荐(0) 编辑