Front-end knowledge accumulation

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(){}.

 

Guess you like

Origin blog.csdn.net/shuoshuo_12345/article/details/108625821