Log in

View Full Version : having trouble with innerhtml



spineless
01-06-2010, 10:21 PM
i am having problem with innerhtml...
when i call a page by using innerhtml, the script does not work on the page. i have to use external js on this page. i dont want to use iframe. if you check my code, you gonnaunderstand what i meant.
3097

please check my codes.. waiting your suggestions...

molendijk
01-06-2010, 11:05 PM
InnerHTML does not import external scripts, just text and (some) styles. If you want to use it (it can be very practical) for importing external content, you have to bring the external js to the 'main page' yourself.
===
Arie Molendijk.