Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

History:Back Navigation

The History:Back Navigation instructs RhoElements to navigate to the previously visited address.

Syntax

History:Back (Navigation) <META> Syntax

<a href="history:back">

Remarks

Interaction with Browser’s History Stack

The browser component on Windows Mobile has no history stack other than that provided by RhoElements, so this History:Back tag is the only way to navigate to a previous page (as well as the Back Button). Windows CE’s browser component has its own history stack accessed via JavaScript’s history.go(n), this is not compatible with RhoElements’s history and the History:Back tag should be used in preference.

Requirements

RhoElements Version 1.0.0 or above
Supported Devices All supported devices.
Minimum Requirements None
Persistence Immediate - This method is actioned immediately.

HTML/JavaScript Examples

The following example shows how to navigate to the previous address using an anchor tag:

<a href="history:back">Back to Previous Page</a>

The following example shows how to navigate to the previous address using JavaScript:

<script>
   function goBack()
   {
      document.location = 'history:back';
   }
</script>
Back to Top