gjiyer123456789
January 29th, 2005, 07:16 AM
I have written following piece of code.
function test()
{
document.write("<iframe name='FRM' width=0 height=0 src='http://.....(some URL)'></iframe>");
var result = FRM.document.all(0).innerHTML;
}
in the above case the execution fails. But if i add an "alert()" before var result, it works fine. Can someone help me to resolve this issue???
function test()
{
document.write("<iframe name='FRM' width=0 height=0 src='http://.....(some URL)'></iframe>");
var result = FRM.document.all(0).innerHTML;
}
in the above case the execution fails. But if i add an "alert()" before var result, it works fine. Can someone help me to resolve this issue???