Home / FAQ / ASP.NET / Client Side Scripting / How to change a Label element’s text in javascript
document.getElementById('Label1').innerText = 'Changed Text';
Platform BlazorASP.NETWinFormsWPFAngularReact
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with