Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get referer URL if you opened a pop up window using JavaScript

843835Oct 17 2002 — edited Oct 18 2002
I have a link on the parent window that would open up a pop up window.

If I use following code:
Open window - I get the referal URL (i.e. of the parent window) on the pop up window.

However, if I use JavaScript:
Open window - the referal URL is null.

Can any one tell how I can get around with this problem?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2002
Added on Oct 17 2002
4 comments
1,224 views