// 1.第一种写法 $(document).ready(function(){ alert("哈哈哈哈"); }); //2.第二种写法 jQuery(document).ready(function(){ alert("哈哈哈哈"); }); //3.第三种写法(强烈推荐) $(function(){ alert("hello Inj"); }); //4.第四种写法 jQuery(function(){ alert("hello Inj"); });
04-jQuery入口函数其他写法写法
猜你喜欢
转载自blog.csdn.net/qq_15016387/article/details/82388012
今日推荐
周排行