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
1. js will not protect hasOwnProperty from being ...
Table of contents 1. Install the required environ...
Table of contents Problem description: Cause Anal...
Table of contents 1. Introduction 2. Ideas Two wa...
1. Check the character set of the default install...
Preface First, let's see how to identify a TC...
1. Installation of Docker under CentOS8 curl http...
Download image docker pull openjdk Creating a Dat...
The sort command is very commonly used, but it al...
1. CSS writing format 1. Inline styles You can wr...
The image integration technology used by American...
1. Download from the official website and unzip h...
Table of contents 1. Use 2. Solve the problem of ...
wangEditor is a web rich text editor developed ba...
This article shares the installation tutorial of ...