摘要: jQuery自定义类封装: (function ($) { $.DragField = function (arg) { var name = "你好"; //这个是私有变量,外部无法访问 this.testFun = function () { //this.testFun方法,加上了this,就 阅读全文
posted @ 2016-09-18 14:00 J林 阅读(3638) 评论(0) 推荐(0)