I do not understand javascript and not to know how to search to make a button that when tight zerosse my counter which is a global variable
<form id="btn" method="get">
<input type="submit" name="submit" value="zerar"onclick="submit();">
</form>
<script>
function ssubmit(){
document.getElementById("btn".submit());
}
</script>
so he calls another function that would reset the variable "num" where do I put in to call the other function?