I need to change a text of a div, but I only have the id of the div. Without @bind (as I only have the id), how can I do that? I searched for a bit, and some articles that may or may not be outdated stated that blazor doesn't allow access to DOM elements / API, but even so, I don't want access to the entire DOM element; I only want to be able to change the text inside a div or, if that's not possible, even the value property.
↧
document.getElementById() in blazor
↧