2013年2月21日

JS相关

摘要: Javascript刷新页面的几种方法:1 history.go(0)2 location.reload()3 location=location4 location.assign(location)5 document.execCommand('Refresh')6 window.navigate(location)7 location.replace(location)8 document.URL=location.hrefYou can add this function to theString prototype:if(typeofString.prototype.s 阅读全文

posted @ 2013-02-21 19:07 善敗將軍 阅读(145) 评论(0) 推荐(0) 编辑

导航