I’m using `kotlinx.html` in javascript to get the ...
# javascript
l
I’m using
kotlinx.html
in javascript to get the value from an
input
field. Is there a more elegant solution than doing it this way?
b
How about this:
Copy code
val articleName = document.getElementById("articleName") as HTMLInputElement
console.log(articleName.value)
l
thank you ❤️