SyntaxFix
Write A Post
Hire A Developer
Questions
In a similar use case, this worked for me...
<button onclick="window.open('https://www.w3.org/', '_blank');"> My Button </button>