I wonder if there is a way that when i create a button in react i dont want it to open the new page i just want it to act as if it has ?
any ideas ?
Code is
<div>
<a href="http://web address/php/navpoi1.php" target="_blank" rel="noopener noreferrer">
<Button>Nav to POI1</Button>
</a>
</div>
</main>
New contributor
Kurt Ingleson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.