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>

posted on 2007-09-11 19:07  林宁  阅读(2519)  评论(0编辑  收藏  举报