We all must have filled some or the other type of a form online. A form for subscription, for a job, an application etc. A form may ask general information of you as your address, name dob, mother ...
In my earlier blog post, I explained about the checkbox validation using Javascript. This blog post will explain you the same thing using HTML5. Let me give a brief overview of checkbox validation ...
You can find demo and documentation here. Options can be passed via data attributes or JavaScript. $('input[type="checkbox"]').checkbox({ buttonStyle: 'btn-link ...
var checkboxes = document.getElementById("form1").checkbox; //Array que contiene los checkbox var cont = 0; //Variable que lleva la cuenta de los checkbox pulsados ...