My web page is made of 2 frame
s with the name
and id
attributes set to "left" and "center".
I run a JS script in the left one to be able to locate/identify an iframe
with name
and id
"monfrm" in the center frame.
Here is the JavaScript I have so far:
x = top.document.getElementById("center");
alert(x.src); //fine
// ok up to here
y = x.getElementById("monfrm"); // attempting to locate my iframe within "center" frame & that's where it hurts
alert("left says" + y.width); //eeh nothing
I'm probably getting old cos' it seems pitifully easy unless I missed a point.... :-)
Any light shed welcome
Thanks