I would like my if to activate only when the two conditions are validated. I tried this but can't figure out how to do it...
if (document.getElementById('SSD-250G'&&'HDD-1T').checked){ $('#ssd-check').css({'background-color':'green'}) }
Aucun commentaire:
Enregistrer un commentaire