I have a checkbox that I need to be checked when my form submits for validation reasons.
At the time of clicking the submit button it is checked, but there must be some code somewhere within my codebase that is changing this to not checked as the form does not post and checking the checked value via the console after clicking the submit button shows that it is no longer checked.
So my question is how would I somehow bind to the checkbox so I can see what piece of code or what function is changing the value somewhere between the button click and the form submission.
Aucun commentaire:
Enregistrer un commentaire