JavaScript terbuka tautan di tab baru
function NewTab() {
window.open(
"https://www.yourURL.com", "_blank");
}
Woolly Necked Stork
function NewTab() {
window.open(
"https://www.yourURL.com", "_blank");
}
window.open(url,'_blank');
window.open(url,'_blank');
window.open(url);
//open in new window, not new tab
window.open('https://www.codegrepper.com', '_blank', 'toolbar=0,location=0,menubar=0');
<a onclick="window.open(document.URL, '_blank', 'location=yes,height=570,width=520,scrollbars=yes,status=yes');">
Open New Window
</a>
window.open('page.html', '_newtab');