E
ebrandmark
I am trying to load a SCRIPT SRC tag that will result in a
document.write into a specific location in my web page but not call for
the SCRIPT SRC until the end of the page (so as not to delay the page).
The DEFER method won't work because the document.write just starts a
new page.
I was hoping to leave a DIV where the result should end up. Then at
the end of the page create a child of this DIV or another DIV that lays
on top of this DIV and place the results in there.
I can't use the innerHTML property of the DIV as it seems that SCRIPT
tags within that innerHTML are not executed and the result may have
SCRIPT tags.
I also can't use an IFRAME (which is the easy solution) for various
reasons.
I have tried to create a child SCRIPT element of the DIV - but the
document.write still writes at the bottom of the screen.
I also (a lot of requirements, I know) need this to be generic (I won't
know ahead of time the x,y location) and want to use this on a lot of
web pages.
So I want something like this:
Content....
Placeholder for SCRIPT SRC
More content
Call for SCRIPT SRC but results go over (in) the Placeholder
End of Page code.
Thanks for any assistance.
Ed Brandmark
document.write into a specific location in my web page but not call for
the SCRIPT SRC until the end of the page (so as not to delay the page).
The DEFER method won't work because the document.write just starts a
new page.
I was hoping to leave a DIV where the result should end up. Then at
the end of the page create a child of this DIV or another DIV that lays
on top of this DIV and place the results in there.
I can't use the innerHTML property of the DIV as it seems that SCRIPT
tags within that innerHTML are not executed and the result may have
SCRIPT tags.
I also can't use an IFRAME (which is the easy solution) for various
reasons.
I have tried to create a child SCRIPT element of the DIV - but the
document.write still writes at the bottom of the screen.
I also (a lot of requirements, I know) need this to be generic (I won't
know ahead of time the x,y location) and want to use this on a lot of
web pages.
So I want something like this:
Content....
Placeholder for SCRIPT SRC
More content
Call for SCRIPT SRC but results go over (in) the Placeholder
End of Page code.
Thanks for any assistance.
Ed Brandmark