aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes document.referrer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "document.referrer?" Watch "document.referrer?" New topic
Author

document.referrer?

Michael Huber
Ranch Hand

Joined: Aug 20, 2004
Posts: 43
I'm trying to use document.referrer to find the url of the window from which a window was poped, is that possible with document.referrer???

for example

your current window (Window A) clicking on a link pops up window B
I;ve tried to put document.referrer in window B to get the url of window A, but when I alert(document.referrer) its blank

is this correct usage of referrer
???

thanks for all your help
[ May 17, 2006: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
window.opener.location.href

Eric
Michael Huber
Ranch Hand

Joined: Aug 20, 2004
Posts: 43
thanks got it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: document.referrer?