I am not sure why this isn't working. I am confused and I don't know how to solve it. Please anyone guide me so that I can find out the solution.
Thanks.
terms=$('#terms').val();
if (terms == '') {
...
}
<input id="terms" class="inputcheckbox" name="terms" type="checkbox">