Manage Learn to apply best practices and optimize your operations.

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>

Dig Deeper on Domino Resources - Part 4

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...