Solved

document.location-1

Posted on 2006-07-23
3
260 Views
Last Modified: 2006-11-18
Is it possible to get the location of the previous page using something like document.location-1 (one page behind) or anything else.

document.referrer does not work for me in a popup window

See my question at: http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21928723.html#17162864
0
Comment
Question by:dpinto04
3 Comments
 
LVL 16

Accepted Solution

by:
sam85281 earned 20 total points
ID: 17163481
You're trying to refer to the window that opened the popup?

If so, it's:
window.opener

-Sam
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question