PrepAway - Latest Free Exam Questions & Answers

Which of the following is a correct way in JavaScript to target the second frame in a frames array, assuming t

Which of the following is a correct way in JavaScript to target the second frame in a frames array,
assuming the name of the frame is “b”?

PrepAway - Latest Free Exam Questions & Answers

A.
parent.b.location.href = “new.htm”;

B.
parent.frames[1].location.href = “new.htm”; or parent.b.location.hre = “new.htm”;

C.
parent.frames[1].location.href = “new.htm”;

D.
parent.frames[1].URL.href = “new.htm”;


Leave a Reply