how to open a link in a new tab with 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");
}