HTML: Add a BACK text link (Javascript)

To add a “Back” text link to a web page:

<a href=”JavaScript:history.back(1)”>the past</a>

Using VBScript and FORM button:

<form method=”POST” name=”VBScript_Nav_Sample”>
<input type=”button” name=”Go Back!” value=”VBScript_Backup_Sample” language=”VBScript” onclick=”call window.history.back(1)” /<
</form>

Using Javacript and FORM button:

<form>
<input type=”button” value=”Button” name=”B3″ onclick=”javascript:history.back(1)” />
</form>

From Microsoft KB Q205693

Written by

Bharat Suneja

Leave a Comment

Your email address will not be published. Required fields are marked *