home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Document.referrer Property

Name

Document.referrer Property---the URL of the linked-from document

Availability

Navigator 2.0; implemented but nonfunctional in Internet Explorer 3.0

Synopsis

document.referrer

Description

referrer is a read-only string property that contains the URL of the document from which the current document was reached. For example, if the user follows a link in document A to document B, then in document B, the Document.referrer property contains the URL of document A. On the other hand, if the user types the URL of document B directly and does not follow any link to get there, then the Document.referrer property for document B will be an empty string.


Previous Home Next
Document.plugins Book Index Document.title

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell