Let's say I have
<div id="blah">500</div>
(Context: asp.net aspx page) How do I allow a c# code access that value?
<%
int numberiwant = ###; // Ideally 500
%>
I was thinking of something along the lines of jQuery:
<script type="text/javascript">
var value = $('#blah').html();
// Then do some magic and pass to c#?
</script>
Is there a better way?