HTML Page Refresh

Javascript刷新頁面的幾種方法:
1 history.go(0) 1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
5 document.execCommand('Refresh')
6 window.navigate(location)
7 location.replace(location)
8 document.URL=location.href

留言

這個網誌中的熱門文章

10 Tips for Proper Application Logging

java.lang.NoClassDefFoundError: org/apache/xerces/jaxp/datatype/XMLGregorianCalendarImpl$Parser

MS SQL Server: EXECUTE permission denied on xp_sqljdbc_xa_init_ex