jQuery:$(document).ready()用法 $(document).ready() 方法允许我们在文档完全加载完后执行函数; 转载于:https://www.cnblogs.com/lizm166/p/9482907.html