hello all,
i have this code
<script type="text/JavaScript">
function checkbox_click (number)
{
alert("number is" + number);
}
</script>
echo "<input type=\"checkbox\" name=\"boxname\" " value=\"5\" onClick=\"checkbox_click('3');\" /> \n";
i want add more code in javascript
when is check show me in input text the number and when i check mutlti box's is + all number and when i uncheck box is - the number
please help me
thanks