erin
08-21-2002, 12:55 PM
In order to load the output of an ASP/VBscript into an html page I'm using javascript.
I was wondering if and how I could load the content into a paragraph, specified <p id="para1"> ,
of a hidden iframe <iframe id="ifrm">
I tried this para1.innerHTML=document.ifrm.document.body.innerHTML;
and this
para1.innerHTML=window.frames['ifrm'].document.getElementById('theBody').innerHTML;
I'm sort of a novice in javascript. Please tell me how I can solve this problem in ie and netscape.
I was wondering if and how I could load the content into a paragraph, specified <p id="para1"> ,
of a hidden iframe <iframe id="ifrm">
I tried this para1.innerHTML=document.ifrm.document.body.innerHTML;
and this
para1.innerHTML=window.frames['ifrm'].document.getElementById('theBody').innerHTML;
I'm sort of a novice in javascript. Please tell me how I can solve this problem in ie and netscape.