Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

update visual text in tkhtml

52 views
Skip to first unread message

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

unread,
Mar 22, 2018, 1:54:35 PM3/22/18
to
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

unread,
Mar 23, 2018, 7:29:15 AM3/23/18
to
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 new messages