如何使用POST数据重定向?
How to move to new page with $_POST
?
How to do this? How is it done and whyfore shall it be done
如何使用POST数据重定向?
How to move to new page with $_POST
?
How to do this? How is it done and whyfore shall it be done
有一个JQuery插件,它几乎完成了您想要做的事情:https://github.com/mgalante/jquery.redirect/blob/master/jquery.redirect.js.
After including JQuery and the jquery.redirect.min.js plug-in, you can simply do something like this:
$().redirect('demo.php', {'arg1': 'value1', 'arg2': 'value2'});
Use the following code on newer JQuery versions instead:
$.redirect('demo.php', {'arg1': 'value1', 'arg2': 'value2'});
希望这能有所帮助!