Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Sep 2, 1999

Navigate Back to the Target

One of the easiest methods to navigate back to the page where they came from is with JavaScript object.property called document.referrer. This document.referrer means the page that referred the current one. You can use it to create a link or a button to take the user back without the aid of a browser's "Back" command.

document.write ("<A HREF=" +document.referrer+ ">Click to go back </A>")

Jai Bardhan
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date