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
  • 620
  • 9
  • 20

1 Answers1

11

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

Mhd Alaa Alhaj
  • 2,438
  • 1
  • 11
  • 18