Answers for "history.back()"

4

js go back

history.back()
Posted by: Guest on April-14-2020
0

history.back()

// --------------------if history.back() not working---------------------
//instead of this
<a href="javascript:history.back();">back</a>

//do this
<a href="javascript:history.go(-1);">back</a>
Posted by: Guest on February-17-2021

Browse Popular Code Answers by Language