1.标准的写法: $(document).ready(){}); 2.简写 $(function(){}); 3. jQuery(document).ready(function(){}); 4. jQuery(funtcion($){}); 相关文章: