Preventing double form submissions with Parsley form validation

Thanks to Jon Leigh for this snippet!  If you use Parsley form validation, a reliable form validation library, here's an easy way to prevent double submissions of forms.  This disables the form submission button only once the form passes Parsley's form validation. I've implemented this in a few different places and it works flawlessly! …

Javascript: A simple way when validating forms to ensure at least one checkbox is checked

Check so at least one checkbox on your form is checked before it's allowed to submit: