get:
<script>
name="xxx";
window.location=‘xxx.php?name=‘+name;
</script>
post:
<script>
name="xxx";
</script>
<form name=form1 method=post onsubmit="this.name.value=name">
<input type=hidden name="name">
</form>
原文地址:https://blog.51cto.com/13304060/2386717
时间: 2024-11-12 13:14:39