jquery010-自定义-自执行-封闭


一,
jQuery扩展:
- $.extend({
函数名:function(){}
}) $.方法
- $.fn.extend({
函数名:function(){}
}) $(..).方法
二,自执行-封闭:
(function($){
var status = 1;
// 封装变量
$('').();
})(jQuery)
posted @ 2022-11-27 18:42  wode-wode  阅读(20)  评论(0)    收藏  举报