S
sadie
Hi,
I'm having some trouble accessing a form in a generated iframe. I can
only access the frame using the document.getElementById() method (the
frame is not in the frames array since it is dynamically generated)
and then I cannot seem to then get access to the document inside the
frame.
//this returns a frame element
frm = document.getElementById("frame1");
//returns undefined
alert(frm.document);
ultimately I am trying to access a form inside the frame.
Any ideas?
I'm having some trouble accessing a form in a generated iframe. I can
only access the frame using the document.getElementById() method (the
frame is not in the frames array since it is dynamically generated)
and then I cannot seem to then get access to the document inside the
frame.
//this returns a frame element
frm = document.getElementById("frame1");
//returns undefined
alert(frm.document);
ultimately I am trying to access a form inside the frame.
Any ideas?