1.setTimeout无效,需将调用函数加上双引号 setTimeout("flushProgramUI()",flushTime); 2.$(document).ready和window.onload的区别