how to open a new tab in the same window js 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");
}