摘要: PHP 页面跳转: // 只是跳转,所以一定要用die();或者exit;终止下一步操作; header('location:index.php'); exit; // 等待3秒,跳转并刷新 header('refresh:3; url=index.php'); JS 页面跳转: location. 阅读全文
posted @ 2017-02-19 11:55 PengYunjing 阅读(375) 评论(0) 推荐(0) 编辑
摘要: location.reload() 和 location.replace()的区别和应用: reload 方法,该方法强迫浏览器刷新当前页面。语法: location.reload([bForceGet]) 参数: bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。 tr 阅读全文
posted @ 2017-02-19 11:22 PengYunjing 阅读(154) 评论(0) 推荐(0) 编辑