Javascript (60 )
объединить эти функции в одну
function setprev()
{
var month = document.control.month.selectedindex - 1;
document.control.month.selectedindex = month;
var year = document.control.year.selectedindex + 1900;
formcalendar(month, year);
}
function setnext()
{
var month = document.control.month.selectedindex + 1;
document.control.month.selectedindex = month;
var year = document.control.year.selectedindex + 1900;
formcalendar(month, year);
}
function selectdate()
{
var year = document.control.year.selectedindex + 1900;
var month = document.control.month.selectedindex;
formcalendar(month, year);
}
(это календарь! )