摘要: 下文来自 http://www.itzhai.com/jquery-plug-ins-to-achieve-the-methods-and-principles-of-simple-instructions.htmljQuery插件实现的方法和原理简单说明jQuery是一个封装的很好的类,比如我们使用$("#username")会生成一个 jQuery类的实例。1、jQuery插件开发主要使用如下两个方法:1.1、添加静态方法jQuery.extend(object);为扩展jQuery类本身,为类添加新的方法,可以理解文添加静态方法。$.extend({ addMetho 阅读全文
posted @ 2013-10-16 05:51 jmStatham 阅读(454) 评论(0) 推荐(0) 编辑