document.write("<option");
if(theday == thisday)document.write("selected");
改成:
document.write("<option");
if(theday == thisday)document.write(" selected");//option和selected间加个空格^_^
if(theday == thisday)document.write("selected");
改成:
document.write("<option");
if(theday == thisday)document.write(" selected");//option和selected间加个空格^_^
唉,真粗心,我~