mercredi 30 novembre 2022

Jquery form reset function doesn't reset checkboxes

I have a form that contains checkboxes, and from the script I check and uncheck them according to some requirements. at a certain point I reset the form $("#formId")[0].reset(), all inputs get reseted exept for checkboxes!!

I reseted the form but checkboxes didn't get reseted.




Aucun commentaire:

Enregistrer un commentaire