faqts : Computers : Programming : Languages : JavaScript : Links

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

JavaScript: Navigate: Link: Backwards: How to create a back link? [previous]

Jan 25th, 2005 10:14
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 08 January 2005 - 07:46 pm --------------------

JavaScript: Navigate: Link: Backwards: How to create a back link? 
[previous]

Steps: Overview:

 1. -Add the following source code to your html page

--- cut here: begin --------------------------------------------------

<A
  HREF="#"
  ONCLICK="history.back();"
>
Back
</A>

--- 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

----------------------------------------------------------------------