C
C#2y ago
danilwhale

how to get html element in .cshtml file

title says all my question
8 Replies
Angius
Angius2y ago
Elaborate
danilwhale
danilwhale2y ago
what i need to write code? oh
Angius
Angius2y ago
Elaborate on what do you mean by "get html element in .cshtml file"
danilwhale
danilwhale2y ago
like i writing counter which updates every click on button, counter is displaying on paragraph element with id "counterP"
Angius
Angius2y ago
You need Javascript or Blazor, then
danilwhale
danilwhale2y ago
a
Angius
Angius2y ago
Or you need to reload the page each time
danilwhale
danilwhale2y ago
second is worst i think that i can make with c# eh