Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

go to previous page

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

backBtn.addEventListener('click', ()=>{
    window.history.back();
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: get the current date time in javascript in 12 hour format 
Javascript :: js xmlhttprequest add header 
Javascript :: how to remove the last character from a string in javascript 
Javascript :: js get selection start from contenteditable 
Javascript :: How to parse POST requests with express nodejs 
Javascript :: how to check if url has hash in react 
Javascript :: deep clone array in javascript 
Javascript :: end code nodejs 
Javascript :: fetch data from api url 
Javascript :: cypress enter 
Javascript :: JavaScript performing an integer division 
Javascript :: canvas fillrect 
Javascript :: import stripe in es6 
Javascript :: take only int part of number js 
Javascript :: fetch in js 
Javascript :: check data in formData 
Javascript :: check if date is after or before with moment 
Javascript :: jquery alert on href click 
Javascript :: jquery radio button change 
Javascript :: how to set content length of an mp3 stream in nodejs 
Javascript :: adonisjs column default value 
Javascript :: terminal text length nodejs 
Javascript :: create paragraphs with js in html 
Javascript :: jquery select child span 
Javascript :: javascript opacity 
Javascript :: es6 get text between quotes and double quotes 
Javascript :: nodejs remove unsafe string 
Javascript :: delete from array in angular 
Javascript :: jquery add event listener to ckeditor 
Javascript :: jquery if input has empty white space 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =