Get checkbox value without page refresh
问题 I got a table of checkboxes: <td><input id="box" name="box" type="checkbox" value="1" checked /></td> <td><input id="box" name="box" type="checkbox" value="2" checked /></td> <td><input id="box" name="box" type="checkbox" value="3" checked /></td> I want to submit checkbox value when I check or uncheck the box (each one at a time) Without refreshing the page to: if (isset($_GET['box'])) { echo "Success!" } By far I got this javascript code to check whether the box is checked or unchecked: