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”?
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”;