<body> <script> function resetData() { document.getElementById("deleteContactFlag").checked=false; document.getElementById("userAdministrationFlag").checked=false; } </script> <form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post" id="form"> <input type="checkbox" name="deleteContactFlag" id="deleteContactFlag" <?php if (isset($_POST["deleteContactFlag"])) echo 'checked="checked"'; ?>/> Delete Contacts <input name="userAdministrationFlag" type="checkbox" id="userAdministrationFlag" <?php if (isset($_POST["userAdministrationFlag"])) echo 'checked="checked"'; ?>/> User Administration <input type="submit" name="submit" id="submit" value="Submit"> <button type="button" onClick="resetData()">Reset</button> </form>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)