Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Body.innerHTML returns wrong code
Message
De
26/08/2002 00:23:11
 
 
À
26/08/2002 00:11:51
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00693356
Message ID:
00693534
Vues:
22
>did you try the access via
document.getElementsByTagName("body")[0].innerHTML
or
document.getElementById("someID").innerHTML
(after assigning an ID to the body tag)?

Well, believe it or not but the logic was like this:

ASP page containing javascript was including a javascript function that was calling another javascript function (to get the innerHTML) where this function was made accessible by including a reference to an external javascript file. I just remove that external reference and plugged the function directly in the ASP page and it started to work as expected. Really weird!
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform