How to Visit other page without url loading | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to Visit other page without url loading

How can I visit other page without url loading using javascript in php or html technologies website like react , Gatsby or next js technologies of website does

15th Jan 2022, 10:37 PM
Aman Rajput
Aman Rajput - avatar
3 Respostas
0
Hi Aman Rajput The web cannot run without urls You could use Ajax to request a php file and then sent itā€™s contents to the screen, that way you wont need to refresh the page is probably the best approach with vanilla js
16th Jan 2022, 10:49 PM
Ollie Q
Ollie Q - avatar
0
Oh! Nice I got your point, thanks for the valuable answer.
16th Jan 2022, 10:51 PM
Aman Rajput
Aman Rajput - avatar
0
You can create spa (single page app) using react, enable your website navigate to any page components without reload the page url.
18th Jan 2022, 12:52 PM
CalviÕ²
CalviÕ² - avatar