I've run alerts for each of the variables. It appears that they equal the values below. I'm assuming I've missed something with the writing of the if statement since I'm fairly new to jquery. Thanks!
$(document).ready(function() {
if (firstMonth === '10' && firstDay === '10' && firstYear === '2015' && secondMonth === '10' && secondDay === '10' && secondYear === '2015') {
alert("YES");
}
});
Aucun commentaire:
Enregistrer un commentaire