URL That Mimics the Browser's Back Button

Here's some very basic code that developer's can reuse in many places. Here's where I find it most useful:

1)After a user has submitted a document. (View Document submitted.)
2) Used around a custom graphic in frames.
3) Used on custom $$Return Forms like $$ReturnGeneralError or $$ReturnDocumentDeleted.

Use as Pass-thru HTML or on page with contents treated as HTML:

Simple Text URL:
<a href="javascript: onClick=history.back()">RETURN TO PREVIOUS PAGE</a>

Image URL:
<a href="javascript: onClick=history.back()"><img src="/dbname/act_new.gif?OpenImageResource"></a>

This was first published in March 2001

Dig deeper on Domino Resources - Part 4



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...