how to open file in new tab using javascript code example
Example: javascript open link in new tab
function NewTab() {
window.open(
"https://www.yourURL.com", "_blank");
}
function NewTab() {
window.open(
"https://www.yourURL.com", "_blank");
}