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

Code Here

window.history.pushState('new' , 'title' , 'new.html')

Test it Here

 

Hlw


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 . ....


Comments