Asked 3 years ago
1 Feb 2021
Views 436

posted

How to get the previous URL in JavaScript?



i want button click event where it goes to previous page or url ,

Phpworker

Phpworker
answered Nov 30 '-1 00:00


window.history.back();



window.history.go(-1); 
Post Answer