return value unclicking html checkbox
I try to make a checkbox that should return true if I select it and false if I deselect it. <input type="checkbox" id="10101" name="10101" onchange="update_C('10101', 40)" value="true"> and then I accsess the value inside update_C with document.getElementById('10101').value However, this always…