How to check if at least 2 checkboxes (in multiple groups) are selected within another if statement? – Jquery
I have this code which is working beautifully. It is just disabling a submit button if text input fields are empty. $(document).ready(function() { $('input[required]').on('keyup', function() { var empty = false; $('input[required]').each(function() { var val = $(this).val().trim(); if (val.length == 0…