iframe默认使用的是get请求,所以外面要使用form表单的post请求实现免密码跳转系统。
html写法:
<!DOCTYPE html>
<html><head><meta charset="utf-8"><title>使用iframe的post请求提交网页</title></head><style>#iframe{height: 800px;width: 100%;}.layadmin-iframe{height: 800px;width: 100%;}</style><body><div><!-- <form id="ttsForm" target="iframe" method="post" action="https://iba.jinmaowy.com/login?username=&password=" ></form> --><!-- <form id="ttsForm" target="iframe" method="post" action="https://iba.jinmaowy.com//login?username=&password=c2=" ></form> --><!-- <iframe name="iframe" frameborder="0" class="l