Record it:
1 、 var $ data = null;
$data variable name;
2、$.test=function(){}
$ Refers to the jquery object, $.test is to add a test attribute to the jquery object, and its value is the function function(){}.
Record it:
1 、 var $ data = null;
$data variable name;
2、$.test=function(){}
$ Refers to the jquery object, $.test is to add a test attribute to the jquery object, and its value is the function function(){}.