实现JS年月日联动 var yearTemp=document.getElementById("yearInfo"); var monthTemp=document.getElementById("monthInfo");