Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

go to previous page

const backBtn = document.getElementById('back-btn');

backBtn.addEventListener('click', ()=>{
    window.history.back();
});
Source by javascriptf1.com #
 
PREVIOUS NEXT
Tagged: #previous #page
ADD COMMENT
Topic
Name
8+7 =