您的位置:首页 > 其它

window.location.href以post方式传递参数

2013-08-25 10:37 344 查看
<script language=javascript>
document.write("<form action=a.asp method=post name=formx1 style='display:none'>");
document.write("<input type=hidden name=name value='"+username+"'");
document.write("</form>");
document.formx1.submit();
</script>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: