WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 How to parse Javascript again after innerHTML copy from iframe to div, Voxen, July 12, 2003
     Re:How to parse Javascript again after innerHTML copy from iframe to div, Erik Arvidsson, July 13, 2003

Subject: How to parse Javascript again after innerHTML copy from iframe to div From: Voxen Date: July 12, 2003

When I load a page in an iframe and then copy the innerHTML to a div, the page is copied as it is after loading in the iframe. This means that the javascript blocks are not executed. Is there any way to make this happen? Ideally it should be like the page is being parsed for the first time in the div, and not in the iframe.
I can think of workarounds with calling some initializing functions manually after copying, but I'd like this to be as flexible as possible. Any thoughts are most welcome.

Nikki




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX