i am building an estimates form and I need to send by email only the div’s with checked box. how to script it with jquery? I guess I must first get all the checked boxes and unchecked ones and eliminate from the form the correspondent div of the unchecked box.
Share
You can use the
:checkedpseudoselector to select checkboxes that are checked:Or to get checkboxes that are not checked:
Or to get checked checkboxes inside of your correspondent div:
EDIT
So you want divs that have checkboxes, none of which are checked? This will do that