faqts : Computers : Programming : Languages : JavaScript

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

1 of 3 people (33%) answered Yes
Recently 1 of 3 people (33%) answered Yes

Entry

How to implement the code to get back to previous page using hyperlink

Apr 8th, 2008 18:42
ha mo, Dave Clark, Santosh Deo,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Santosh,
     The answer is pretty straightforward:
<a href="javascript:void(0)" onclick="self.history.go(-1);
 return false;">Prev Page</a>
<a href="javascript:void(0)" onclick="self.history.go(+1);
 return false;">Next Page</a>
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com