9 January 2014

How will you get the Checkbox status whether it is checked or not? in javascript?

var status = document.getElementById('checkbox1').checked;
 alert(status);

No comments:

Post a Comment