I am using checkbox name as array that are increases dynamically...
I Want to know that how to recognize that checkbox is unchecked without using input type="hidden"
If i ignore input type="hidden" that we get value on array on continous indexing. So I am unable to recognize unchecked boxes.
<input type="checkbox" name="morning[]" value="Morning">Morning
<input type="checkbox" name="noon[]"value="Noon">Noon
<input type="checkbox" name="afternoon[]" value="Afternoon">Afternoon
<input type="checkbox" name="evening[]" value="Evening">Evening
<input type="checkbox" name="night[]" value="Night">Night
Aucun commentaire:
Enregistrer un commentaire