In form I have check box. during runtime i have to get the value of the selected check box in the Page. if i use client side java script means the output will display.
<script>
function myFunction()
{
var checkvalue = document.getElementById("checkbox1").checked;
if (checkvalue == true)
{
var result = document.getElementById("checkbox1").value;
}
}
</script>
Here i could't access the "result" variable from server side.how to access the client side variable to server side variable?