I want to get variable value in hidden HTML field. My code like:
<script lang=”text/javascript”>
Var counter;
Loop{
Some Code . . . .
Counter++;
}//end loop
</script>
<html>
<body>
// some code
<input type “hidden” name=”total” id=”total” value=”here I want to get Counter”>
</body>
</html>