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
Table of contents Combining lookahead and lookbeh...
1. Virtual environment follows the project, creat...
0 Differences between icons and images Icons are ...
1. Spread Operator The spread operator is three d...
This article introduces an example of how to use ...
In this system, the # sign represents the root us...
INSERT INTO hk_test(username, passwd) VALUES (...
This article uses an example to describe the inte...
I have always used Loadrunner to do performance t...
By default, the width and height of the cell are ...
Table of contents Preface Related Materials Vue p...
When we add borders to table and td tags, double ...
mysql basic data types Overview of common MySQL d...
Recently, a system was deployed, using nginx as a...
To achieve the following goals: Mysql database wi...