When content is transferred from a hidden IFRAME (which has fetched data
from a database) to a DIV in the main document, how can a script determine
that the DIV has been completely populated before it acts upon the data?
if (myIFRAME.docum ent.readyState= ='complete')
myDIV.insertAdj acentHTML("afte rBegin",
myIFRAME.window .document.getEl ementById('data ') )
// ...
// convert text in myDIV to uppercase
// code here may execute before action in line above completes, right?
Thanks
Timo
from a database) to a DIV in the main document, how can a script determine
that the DIV has been completely populated before it acts upon the data?
if (myIFRAME.docum ent.readyState= ='complete')
myDIV.insertAdj acentHTML("afte rBegin",
myIFRAME.window .document.getEl ementById('data ') )
// ...
// convert text in myDIV to uppercase
// code here may execute before action in line above completes, right?
Thanks
Timo
Comment