How to change Adress bar URL without refreshing the page using JavaScript

Sh Raj
Jan 3, 2021

--

December 20, 2020 How To, Javascript, Tips, Top Reveals, Tricks

Code Here :-

See Full Article :- https://codexdindia.blogspot.com/2020/12/how-to-change-adress-bar-url-without.html

window.history.pushState(‘new’ , ‘title’ , ‘new.html’)

Test it Here

Hlw Change URL to new2.html Change URL to new3.html Change URL ti new4

Chats During Video Making ….

How to change Adress bar URL without refreshing the page Code :-

window.history.pushState(‘new’ , ‘title’ , ‘new.html’)

Uses :-

1. Use setTimeout’s ….

2. Use in Button onclick

Let’s Do it ;;;;;

See here URL automatic Changed …

Let’s Check it with Buttons ……

See here we did it …..

Let’s use it more efficiently ……….

Thats alll We did it …….

Thanks . ….

--

--

Sh Raj
Sh Raj

Written by Sh Raj

0 Followers

Want to Create a Love Shade .

No responses yet