After submitting a POST form open a new window showing the result November 19, 2022 by Tarik Add <form target="_blank" ...></form> or form.setAttribute("target", "_blank"); to your form’s definition.