如何使用所选日期自动填充下面的文本字段?让它自动填充它。
<td width = "370" class = "style22">
<input name = "date" type = "text" id = "date" value = "<?php echo $current_date ?>" size="20">
<select id = "daydropdown"> </select>
<select id = "monthdropdown"> </select>
<select id = "yeardropdown"> </select>
<script type = "text/javascript">
// populatedropdown(id_of_day_select, id_of_month_select, id_of_year_select)
window.onload = function(){
populatedropdown("daydropdown", "monthdropdown", "yeardropdown")
}
</script>
</td>