$( function() {} );和$( function($) {} );和( function($){} )(jquery);的异同
[javascript] view plain copy$(function(){...}); 的完整写法是:[javascript] view plain copy$(docunemt).ready(function(){...}); 意思是在DOM加载完毕后执行ready()方法。[javascript] view plain copy(function($){...})(jQuery);...
转载
2018-05-17 10:47:59 ·
723 阅读 ·
0 评论