关于PHP如何用实现防止用户在浏览器上使用后退功能重复提交输入

$(function(){
    if(window.history && window.history.pushState){
        $(window).on('popstate',function () {
            window.history.pushState('forward',null,'#');
            window.history.forward(1);
        });
    }
    window.history.pushState('forward',null,'#');
    window.history.forward(1);
});

 

原文地址:https://www.cnblogs.com/crystaltu/p/7462031.html