$(document).ready(function(){ 如果不引用 “ready”时, 对外部引入的.js文件,不能重新写入或者不能重保存。 转载于:https://www.cnblogs.com/muzijia/p/js.html