HTML: Add a BACK text link (Javascript)

by Bharat Suneja

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)” /<

Using Javacript and FORM button:

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

From Microsoft KB Q205693

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: