Google Groepen ondersteunt geen nieuwe Usenet-berichten of -abonnementen meer. Historische content blijft zichtbaar.

update visual text in tkhtml

52 weergaven
Naar het eerste ongelezen bericht

Едуард Зозуля

ongelezen,
22 mrt 2018, 13:54:3522-03-2018
aan
How do I change the text in a tkhtml widget ?

We have:
<span>This text for change</span>

Need update to:
<span>Updated text</span

Thanks !

Roland Frank

ongelezen,
23 mrt 2018, 07:29:1523-03-2018
aan
I suppose this is similar to
preliminary demo page http://notab.tk/wacl - which is from fossil.e-lehmann.de/releases/wacl/wacl.zip

maybe you want to try
??::dom attr "span" textContent "Updated Text"
or more specific, give this span an unique id as in <span id=here>This text..</span>
??::dom attr "#here" textContent "Updated Text"
or address as child of a parent-div with id "xx" use
??::dom attr "#xx > span" textContent

The notation of the attr specifier is CSS-style.

regards
Roland frank
0 nieuwe berichten