this is my first question on stackoverflow. I need some help because i need to pick a diferent html file for each day, i need to display a schedule for each day.
I got this javascript code on the web:
dayName = ["Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"];
dayNumber = new Date().getDay();
document.writeln('<link rel="stylesheet" type="text/css" href="' + dayName[dayNumber] + '.css">');
The code of above picks a different .css file for each day but i don't need that, i need to pick a html file.
Please help me and excuse me if my language isn't correct.
Thanks.