在DOM完成,并且页面完全展现后 执行的函数。 调用的方式: 1. $(document).ready(function(){ }) 2. $().ready(function(){ }) 3. $(function() {})