This if block:
count = 1;
if (count == 4) {
alert(count);
$(":checkbox").attr("disabled", true);
count = 0;
}
is not running. I have also added an alert() but its not appearing. My javascript code also contains some jQuery. How to solve it?
count = 4
before the posted code and make sure it reaches this line...count
is never4
^^count
comes from?count
value