So we introduce an embedding framework to solve this problem. The specific principle is: when the form submits data, the submission target is not set to the current page, but to an embedded frame in the current page. First you should insert an inline frame below the body: Copy code The code is as follows: <iframe style="width:0; height:0; margin-top:-10px;" name="submitFrame" src="about:blank"></iframe> You should then set the form's target to be this embedded frame, like this: Copy code The code is as follows: <form name="testform" method="post" action="apply.cgi" target="submitFrame"> <input type="submit" value="Submit"> </form> This way we get what we need. |
>>: Several commonly used single-page application website sharing
This is a pretty cool feature that makes web page...
challenge: Converts the characters &, <, &...
Seamless carousel is a very common effect, and it...
When making a homepage such as a login page, you ...
Overview Today we will mainly share how to config...
Gtid + Mha + Binlog server configuration: 1: Test...
1. Avoid declaring the page as XML type . The pag...
For a website, it is the most basic function. So l...
List style properties There are 2 types of lists ...
When I was looking at some CSS3 animation source ...
Table of contents 1. Project requirements 2. Docu...
Mysql is a mainstream open source relational data...
Swarm Cluster Management Introduction Docker Swar...
How to write judgment statements in mysql: Method...
This article example shares the specific code of ...