Entry
JavaScript: Navigate: Button: Back: How to create a back button? [previous]
Jan 25th, 2005 10:12
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 08 January 2005 - 07:56 pm --------------------
JavaScript: Navigate: Button: Back: How to create a back button?
[previous]
Steps: Overview:
1. -Add the following source code to your html page
--- cut here: begin --------------------------------------------------
<INPUT
TYPE="button"
VALUE="back"
ONCLICK="history.back();"
>
</INPUT>
--- cut here: end ----------------------------------------------------
or also similarly, you could use:
--- cut here: begin --------------------------------------------------
<BUTTON
ONCLICK="history.back();"
>
back
</INPUT>
--- cut here: end ----------------------------------------------------
---
---
Note:
Instead of
history.back()
you can also use
history.go( - 1 )
---
Note:
Here the '#' sign refers to the beginning of the current page,
and acts just as a placeholder.
Internet: see also:
---
JavaScript: Navigate: Link: Overview: Can you give an overview of
links?
http://www.faqts.com/knowledge_base/view.phtml/aid/33558/fid/53
----------------------------------------------------------------------