jquery in a form
jquery in a form
hello,
i'm trying to make a script which display all the info user has chose on the form before submission.
now every thing is working as i expected, i have only one problem and it's with the checkbox element.
the script is displaying only 1 option and not all the option that has been chosen .
this is the code for the specific checkbox -
$("p#dialog-parts").html($('input:checkbox[name=parts]:checked').val());
what do i need to change in order to show all the checked checkboxes and not only one?
thank you.