Is there api like `$('.myClass').innterText = "new...
# javascript
l
Is there api like
$('.myClass').innterText = "new text"
for xml string?
b
do you mean
innerText
?
if so
org.w3c.dom.HTMLElement
has such property, also
org.w3c.dom.Element.innerHTML
could be useful for you.
If you asked about finding elements try
document.querySelector
or
document.querySelectorAll
.
l
@bashor Yes,
innerText
. So I should use kotlin js "proxies"?
b
What do you mean by “proxies”?
external declarations?
l
yes
b
Yes, I think it’s the best option
l
Isn't there any kotlin-common solution?
b
To use on JVM too? No, I don’t know about such things.