Google Groupes n'accepte plus les nouveaux posts ni abonnements Usenet. Les contenus de l'historique resteront visibles.

update visual text in tkhtml

52 vues
Accéder directement au premier message non lu

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

non lue,
22 mars 2018, 13:54:3522/03/2018
à
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

non lue,
23 mars 2018, 07:29:1523/03/2018
à
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 nouveau message