Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding innerHTML containing form
Message
From
20/10/2017 13:49:08
 
 
General information
Forum:
Javascript
Category:
DHTML
Miscellaneous
Thread ID:
01655077
Message ID:
01655121
Views:
35
>Can you post a simple repro ?

After verification, a conflict was responsible for the failure.
<div class="IFrameContainer" id="IFrameContainer">
</div>
cHtmlFromIFrameTransaction=''

function InitializeIFrameContainer()
{
   loDiv=document.getElementById("IFrameContainer")
   loDiv.innerHTML=''
   loDiv.insertAdjacentHTML('afterbegin',cHtmlFromIFrameTransaction)
}
Basically, the above is in the parent window. Then, a child window initializes cHtmlFromIFrameTransaction and calls the function.
parent.cHtmlFromIFrameTransaction="Html here"
parent.InitializeIFrameContainer()
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform