Jump to content

Go back in history script


son

Recommended Posts

To make sure I use Javascript to echo a back button that uses 'java script: history.go(-1)'. in document.write. Is this a problem?The code is:

<script type="text/javascript">   document.write(' | <a href="java script: history.go(-1)" title="Go to previous page">Go to previous page</a>');</script>

I want to make sure that the link does not show if Javascript is disabled..Son

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...