Sometimes, we want to open a new window showing the result after submitting a POST form with HTML.
In this article, we’ll look at how to open a new window showing the result after submitting a POST form with HTML.
How to open a new window showing the result after submitting a POST form with HTML?
To open a new window showing the result after submitting a POST form with HTML, we set the target
attribute of the form to _blank
.
For instance, we write
<form target="_blank">...</form>
to set the target
attribute of the form to _blank
to make it open the form results in a new window after form submission.
Conclusion
To open a new window showing the result after submitting a POST form with HTML, we set the target
attribute of the form to _blank
.