check the parent frame's name and make decisions based on it
Posted on 2010-09-20
Is it possible to retrieve the name of a parent frame and make decisions based on that value?
Let's say I put code in the child frame that checks the name of the parent and if it is not "parent.htm" it reloads the page within in the “parent.htm” parent page?
I know I should no longer use frames but in this old site I just need to.