1 onload等页面全部加在完毕然后执行
  ready()只要dom加载完毕就执行

2 onload只能一个
  ready()可以有多

3 ready()可以简化成 $(function(){do sth...})