为什么80%的码农都做不了架构师?>>> 1.完整的写法是 $(document).ready(函数); 或者 $().ready(函数); 2.可以简写成 $(函数); 转载于:https://my.oschina.net/diedai/blog/262239