Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

back

The back() method of the History object will make the browser software go back to the previous entry in its browsing history. It is equivalent to the user clicking their browser back arrow button.

Syntaxhistory.back()

Examples

<button onclick="history.back()">Back</button>

JavaScript

Methods

addEventListeneralertaveragebackblurconcatcreatedecodeURIdecodeURIComponentencodeURIencodeURIComponentevaleveryfilterforwardgoisArrayisFiniteisNaNjoinparseFloatparseIntpoppushpushStatereducereplaceStatereverseshiftshuffleslicesomesortspliceunshiftwrite