[Pas2js] How to change a div (or othe widget) content

Michael Van Canneyt michael at freepascal.org
Tue Oct 4 09:52:45 CEST 2022



On Tue, 4 Oct 2022, Luca Olivetti via Pas2js wrote:

> El 3/10/22 a les 17:35, Michael Van Canneyt via Pas2js ha escrit:
>
>> 
>> I have changed this.
>> 
>> I have also added TextMode as a property so you can choose between 
>> InnerText
>> and InnerHTML
>
>
> Unfortunately you left out the "if FTextContent<>''" which broke my page (it 
> empties a div hence later it doesn't find the element that were there).

I understood from your original mail that you wanted that particular part gone ?

I reinstated it.

Michael.


More information about the Pas2js mailing list