关于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); });

浙公网安备 33010602011771号