Vidyalelo
JavaScript · Q40

Document Object Model And Event Handling

Programming · JavaScript · question 40

Q40

The inner frame within a top-level window can be referred as

A.
parent(parent)
B.
parent.parent
Answer
C.
parent*parent
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
If a frame is contained within another frame that is contained within a top-level window, that frame can refer to the top-level window as parent.parent.