如何用jQuery禁用浏览器的前进后退按钮?
实现代码如下:
$(document).ready(function() {
window.history.forward(1);
//OR window.history.forward(-1); });
如何用jQuery禁用浏览器的前进后退按钮?
实现代码如下:
$(document).ready(function() {
window.history.forward(1);
//OR window.history.forward(-1); });