vendredi 17 juillet 2015

How to check multiple checkbox if type text is not empty

I got an input that goes like this

<input type="number" min="0" name="quantity'.$read['id'].'" value="0" placeholder="Something" />

<input type="checkbox" name="productid[]" />

how can i check the checkbox if the value of number goes more then 0 for multiple checkboxes and inputs




Aucun commentaire:

Enregistrer un commentaire