ajax局部刷新 [removed] setInterval("refreshTime()",1000); //每格1秒刷新一次 funciton refreshTime() { var dateObj = new Date(); time[removed] = dateObj.toLocaleDateString(); //刷新div里面的内容 } [removed] function doRef() { var url = "xxx.aspx" var dateRequest = new ActiveXObject(