Hi all, I want to know how to count how many checkboxes checked by user, the result will be processed in submit.asp and then timed with number 2. Lastly, the final result will be displayed to the user. I need the code in JavaScript. Please Help me....



---------------------------------------------------------------------------------

<html>

<body>
<form action="submit.asp" name="submit" method="post">
<p><h3>Stage 1</h3>
<input type="checkbox" name="cb" value="ON"><br>
<input type="checkbox" name="cb" value="ON"><br>
<input type="checkbox" name="cb" value="ON"><br>
<input type="checkbox" name="cb" value="ON"><br>
<input type="checkbox" name="cb" value="ON"><br>
<input type="reset" name="cmdreset" value="Reset">
<input type="Submit" name="cmdsubmit" value="Submit">
</P>
</form>
</body>

</html>

--------------------------------------------------------------------------------