jQuery插件开发,测试 b: $.fn.mytest=function(){ alert("mytest");完整的例子 (function($){ $.test=function () { alert("test");private3();})(jQuery) vaminal 2017-01-18 12:53:44