$j(document).ready(function(){}); // 或者 
 
$j(function(){}); 

 

第一个是直接使用Jquery调用function,第二个是在文档加载完毕后才去调用function

 

相关文章: