Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Body.innerHTML returns wrong code
Message
From
26/08/2002 00:23:11
 
 
To
26/08/2002 00:11:51
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00693356
Message ID:
00693534
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform