I'm a newbie in programming thus do pardon me.
I have a .js game that outputs a variable called "score".
I require the variable to be able to be displayed on my asp label and after which grabbing its value for database storage onClick()
Currently what I have been able to do were:
@ .js:
document.getElementById('score').value = score;
@ .aspx:
<asp:Label runat="server" ID="score"></asp:Label>
The score is reflected on this label right now. However, I need to do a additional function which is to obtain the value of 'score' from the label and use it as a String in C#