Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execute Javascript after having copied it from IFrame

Status
Not open for further replies.

Izzac

Programmer
Jan 26, 2001
20
CA
Hi,

I have Javascript in a DIV tag in a IFrame. I must copy them to the main frame. This part work fine with the innerHTML property on the DIV. But, now I SHOULD execute the javascript copied right after the copy ...

(The copied javascript contains some functions but also some calls of functions that must be done immediatly)

I tested with an eval of the innerHTML....but this not work.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top