asp.net Web Form 中获得服务器控件自动生成ID的方法 var txdat=document.getElementById('<%=txtCheckIn.ClientID %>'+"_txtDateVal");