I have multiple web pages that makes up 1 site. Each page includes a help button on the bottom of each page. This button directs the user to another site where a help page is offered.
the problem is that each button will open a new tab directed to the same help site. My goal is to only have 1 new tab opened for all for all of the button clicks on the separate pages.
I am currently using
function showHelp() {
var helpUrl = 'url'
mainHelp = window.open(helpUrl, 'help') }
<a href="##" onClick="showHelp()"; return false">