jeudi 18 juin 2020

Php: How can I check if a checkbox is checked without submitting the form?

How can I check if a checkbox is checked without submitting the form first? I want to make a check out page and there is a billing adress form and a shipping adress form. I want the shipping adress form to disappear when I check a box that says "Shipping address is the same as my billing address". I want to do this without reloading the page. Is this possible? If yes, how? And if no, is there a different way i can get the same result using php?

Thanks in advance!!




Aucun commentaire:

Enregistrer un commentaire