Add
<form target="_blank" ...></form>
or
form.setAttribute("target", "_blank");
to your form’s definition.
More Related Contents:
- PHP+JS: How to do Fileuploads in HTML Form as Content-Type Multipart (via JS)?
- How to set a Header field on POST a form?
- jQuery – Redirect with post data
- A form’s “action” and “onsubmit”: Which executes first?
- How to display an chage photo option on mouse hover similar to linkedin using Javascript? [closed]
- How to force browser to show image 3 inches wide?
- HTML Form Submit pass array to PHP [closed]
- How can I select an element by name with jQuery?
- Executing injected by innerHTML after AJAX call
- jQuery disable/enable submit button
- Resize HTML5 canvas to fit window
- Why split the tag when writing it with document.write()?
- How to resolve the C:\fakepath?
- Client Checking file size using HTML5?
- How to download a file without using element with download attribute or a server?
- Open window in JavaScript with HTML inserted
- prevent Scroll bubbling from element to window
- Detecting that the browser has no mouse and is touch-only
- Set keyboard focus to a
- How Do I Stop My Web Content From Shifting Left When The Vertical Scrollbar Appears? Roll-Up of Advice 2017 [duplicate]
- How to detect when history.pushState and history.replaceState are used? [duplicate]
- How to prevent html/JavaScript code modification
- Detect browser wrapped lines via javascript
- Multiple read more / read less sections are not working on a page
- HTML5 Dynamically create Canvas
- Drawing lines on html page
- Measuring text width/height without rendering
- Sending mail from HTML page with image in the body
- How to parse html to React component?
- Converting Chart.js canvas chart to image using .toDataUrl() results in blank image