I've incorporated JavaScript into my project and I'm using the following code:
<script type="text/javascript">
var tally = 0;
jQuery('td').click(function () {
if ($(this).hasClass('process')) {
count = count+100;
alert('tally');
}
});
</script>
After the value goes up by 100 with each click, I can confirm this with an alert. Now, how do I access the variable tally
in my backend code?