When reading THTMLDiv.HTML, this simply returns the local FHTML String rather than actually reading the "innerHTML" from the associated HTML element. So, when e.g. trying to get the innerHTML from a Div that is set by the WebDesigner as a label in the Unit's HTML file, THTMLDiv.HTML returns an empty string.
Instead, THTMLDiv.HTML should return this.GetElementHandle().innerHTML
Use case for me is: I have a line in the HTML file like this
<div id="LabAddDoc">Some text provided by the web-designer: (@@)</div>
and I need to replace the "(@@)" with a calculated number.
Regards, Walter