<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form method="POST" action="/DDS/dispute/report/saveRemark.ht" enctype="multipart/form-data" target='ifr' id="form1">
<input id="username" name="username" type="text" placeholder="请输入用户名">
<input id="pwd" name="pwd" type="password" placeholder="请输入登录密码">
<input type="submit" value="提交">
</form>
<iframe name='ifr' id="ifr" style='display: none;'></iframe>
<script>
var iframe=document.getElementById("ifr");
iframe.οnlοad= function () {
debugger
var content=iframe.contentDocument.body.innerHTML;
alert(content);
}
</script>
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form method="POST" action="/DDS/dispute/report/saveRemark.ht" enctype="multipart/form-data" target='ifr' id="form1">
<input id="username" name="username" type="text" placeholder="请输入用户名">
<input id="pwd" name="pwd" type="password" placeholder="请输入登录密码">
<input type="submit" value="提交">
</form>
<iframe name='ifr' id="ifr" style='display: none;'></iframe>
<script>
var iframe=document.getElementById("ifr");
iframe.οnlοad= function () {
debugger
var content=iframe.contentDocument.body.innerHTML;
alert(content);
}
</script>
</body>
</html>