Link to home
Start Free TrialLog in
Avatar of everypoint1
everypoint1

asked on

javascript window.opener.name

I have a jsp program that contains some javascript code that has the following code:

frm.target = window.opener.name;

In one case window.opener.name is blank. I could not find a very good explanation window.opener.name with GOOGLE. Could someone please give me either a good explanation or a link to one.
ASKER CERTIFIED SOLUTION
Avatar of stanscott2
stanscott2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of everypoint1
everypoint1

ASKER

Great link, thank you. After doing a little more investigation I discovered what is causing my problem. I am using Mozilla and when there is more than one tab open in one window the window.opener.name is blank so the above code does not work. Would anybody know of a way around this?
SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial