javascript date and loop check
- by StealthRT
Hey all, this is the code i have to check for a day thats equal to the list of days in the comma seperated list:
for(var i = 0; i < daysHidden.length; i++){
if (daysHidden[i] == d.getDate());
{
alert(daysHidden[i] + '=' + d.getDate());
}
}
the daysHidden = 1 (its the only thing in the list April 1st is already gone and todays…