If the checkbox is checked, then the handler flies 1, otherwise 0
checkbox
// PHP $ch = isset($_POST['ch']) ? $_POST['ch'] : 0; // HTML <input type="checkbox" name="ch" value="1">
Give the checkbox the name attribute and in the handler use this checkbox for the name attribute, the checked value will pass to the handler 1!
name
checked
Source: https://ru.stackoverflow.com/questions/200894/More articles:Analogy to the focusout eventjQuery makes noise ?!Connecting files through classesClass namesCSS float and display: blockSimplify expressionAccess to form data from a class in C #Samoddos on the siteHow to extract the necessary elements from iFrame?Incorrect behavior of operators chr and ordAll Articles