Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q752

Feedback on: irt.org FAQ Knowledge Base Q752

Sent by john baker on May 02, 2000 at 03:17:16: - feedback #1164

Worth:
Worth reading

Comments:
.history.go(-1) did not work on my Netscape v4.6 browser.


Sent by Peter Monk on May 18, 2000 at 03:04:29: - feedback #1249

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
Hi there,
I was trying to figure out how to put a link on my page that would be the same as hitting the browser's BACK button. I found this article about using JavaScript and found it helpful, but I really wanted to use a normal link rather than a button (I had some groovy link colours worked out!).
Anyway, just thought you might be interested that I combined the info in this article with the info in Q902 and came up with this:

<A HREF="javascript:history.go(-1)">Back to previous page</A>

Seems to work fine so far.

Thanks for the knowledgebase, I only just found it, but it seems very in-depth.

Peter.



Sent by Wimjan on September 25, 2001 at 12:13:03: - feedback #3191

Length:
Just right

Comments:
There's a dot too many just before 'history':

<FORM><INPUT TYPE="BUTTON" VALUE="BACK" onClick=".history.go(-1)"></FORM>

should read:

<FORM><INPUT TYPE="BUTTON" VALUE="BACK" onClick="history.go(-1)"></FORM>



Sent by Jeff Witbeck on May 16, 2002 at 11:02:16: - feedback #3869

Worth:
Worth reading

Comments:
It would appear the solution offered up for Q752 doesn't retain the data on the page being returned to. Is there a way to Go Back and retain the data?


©2018 Martin Webb