checkbox validation error
hi guys
how do i validate a checkbox, the code below gives errors
error message is
Uncaught TypeError: "#SaC_Check".is is not a function
Ehi
- $("#SaC").click(function (e) {
- if (!('#SaC_Check').is(':checked')) {
- alert("Please click the checkbox to agree to our Terms & Conditions !");
- };
- });