0

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>
2
  • You will have to use the react router, search in youtube for some tutorial in that Commented May 6, 2024 at 23:19
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented May 7, 2024 at 7:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.