编写jQuery插件

jQuery的插件主要分为3种类型

1、封装对象方法的插件

2、封装全局函数的插件

3、选择器插件

原文地址:https://www.cnblogs.com/zhaojieln/p/4270255.html