Forum Moderators: open
//obj gets HTML with the IFrame
obj.innerHTML = object.ResponseText; //access iframe
var myFrame = window.frames['frameName'];
//access DIV inside iframe
var myDIV = myFrame.document.getElementById('innerDIV');
I then do this:
obj.innerHTML = "";
Then I can toggle to re-rerun the first code block which will then no longer work.
(i am using an iframe to have a file upload on the page without refreshing it)