if this.frame = frame name if statement question
Posted: Mon Feb 25, 2008 2:16 pm
I am trying to figure out how to have JavaScript determine if the frame it is being executed in has a name of 'content'.
Here is what I have tried thus far...
Here is what I have tried thus far...
Code: Select all
if (this.frame == parent.content) {alert(this frame is content frame);} else {alert(it is not content frame);}