一、 $(document).ready(function(){ alert("hello world"); }); 二、 jQuery(document).ready(function(){ alert("hello world"); }); 三、 $(function(){ alert("hello world"); }); 四、 jQuery(function(){ alert("hello world"); });