Hi,
I have a control panel for an e-app which uses frames.
The frame which holds the content page is called 'contentframe'.
In a page in this contentframe, I have a span element.
HTML Code:
<span id="status_22"><img name="bla" src="bla"></span>
I need to access this image, determin its name, and then act accordingly.
This is what I was trying to do:
HTML Code:
parent.frames['contentframe'].window.document.layers['status_22'].document.images[0]
As well as
HTML Code:
changedoc = parent.frames['contentframe'].window.document.getElementById('pageStatus_' + change_id );
doccont = changedoc.innerHTML;
var x = doccont.images;
None of this seems to work.
Do you have any idea on how to make this work?
|