html控件(input开对):
document.getElementById("hidContractID");
服务端控件:
document.getElementById('<%=lblPrice.ClientID%>');

更多推荐