关于js执行顺序问题,一致很头疼,
找到了这种方法,可以保证在页面加载完之后,并所有js执行完之后,再执行当前js
$(window).bind("load", function () { alert("我是最后执行!");})