5

this simple line of code:

<a href="#" value="Go back!" onclick="history.back()" class="nav-li" >Back</a>    

works good for Chrome and Firefox, but not for Safari and IE..., for IE it normal case, only very strange persons use it, but why Safari ?

Note: the whole project is done with django 1.45

Igor Tischenko
  • 560
  • 7
  • 19

1 Answers1

10

it should be history.go(-1) or else it won't work.

Mhd Alaa Alhaj
  • 2,398
  • 1
  • 10
  • 18