Hi
I have a java script that displays the current date in drop down boxes.
<SCRIPT LANGUAGE='JavaScript'>
function setCurrentDate()
{
// changes the date selector menus to the current date
var currentDate = new Date();
document.dateForm.year.selectedIndex = 0;
document.dateForm.month.selectedIndex = currentDate.getMonth();
document.dateForm.day.selectedIndex = currentDate.getDate() - 1;
}
how can i disply a date from a mysql date base in the drop down boxes ??
thx