[jQuery] Validate textbox on at least one checkbox selected
Hi all,
I have a textbox and 2 checkbox, and I'd like to validate the textbox
if at least one of the two checkbox is selected.
If is just one checkbox, I'll write:
myTextboxl: {
required: '#myFirstCheckbox:checked'
}
but in the case of 2 checkbox, how can I solve?
Thanks a lot.
Louis