Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding innerHTML containing form
Message
De
20/10/2017 13:49:08
 
 
À
20/10/2017 03:41:56
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01655077
Message ID:
01655121
Vues:
37
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform