This question already has an answer here:
i'm having a form with several checkboxes like:
<input type='checkbox' name='project' value='1'>
<input type='checkbox' name='project' value='2'>
<input type='checkbox' name='project' value='3'>
<input type='checkbox' name='user' value='4'>
<input type='checkbox' name='user' value='5'>
<input type='checkbox' name='user' value='6'>
i'm trying to get this result for my formhandler:
name=1,2,3&user=4,5,6
what's the best way doing this using jQuery? thanks
Aucun commentaire:
Enregistrer un commentaire