Forums

redirect javascript:history.go(-1)

lenaluna 18 Jun, 2008
is it possible to have the form after submit go back to the page where the visitor came from, like with an <a href="javascript:history.go(-1)"> ?
GreyHead 18 Jun, 2008
Hi lenaluna,

Probably - but I'm not sure exacly how. The problem is capturing the previous page url. It may or may not be available in the server info. Possibly you could capture it into a hidden field using the javascript history somehow . . .

Bob
This topic is locked and no more replies can be posted.