Open a URL in a new tab using JavaScript
Opening a URL in new tab using JavaScript, below snippet will do the trick function OpenInNewTabWinBrowser(url) { var win = window.open(url, ‘_blank’); win.focus(); } You could do it this way calling a direct function, or by adding an event listener to your DOM object. Note: JavaScript, abbreviated as JS, is a high-level, interpreted programming language. It … Continue reading Open a URL in a new tab using JavaScript
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed