1 $(document).ready(function(){ 2 //do somethings 3 });
1 $(function(){ 2 //do somethings 3 });
1 jQuery(function($){ 2 //do somethings 3 });
JQuery的三种初始化方法
原文:https://www.cnblogs.com/xjs1874704478/p/13912772.html