On this page ...
The "Back to previous page"
link
One of the great things of Javascript
is that you can do basically anything.
For example on this webpage you might
have noticed the "Back" button which brings you back to
the previously loaded webpage.
Actually, most webbrowsers already
have this button, but you can make your own "link" for
this purpose as well.
|
 |
Example
Just to show you an example:
<A
HREF="javascript:javascript:history.go(-1)">Click here to
go back to previous page</A>
Which will do just this:
Click
here to go back to previous page
Note: Incase your browser
produces a nice JavaScript error then your browser is not capable of handling
this feature.
|