How can I update the database when the user clicks on the Checkbox?
So when the checkbox is checked and the user clicks on it, then the database will update a value and the checkbox remains unchecked until its checked again.
<table>
<tr>
<td>
<input type='checkbox' name='all' checked>
</td>
<td>
<input type='checkbox' name='all'>
</td>
</tr>
</table>
I like to have this written in javascript.
I don't have any code because I don't have knowledge on how to build this. Please help me with this.
Aucun commentaire:
Enregistrer un commentaire