Hey friends,
I am making a calender control using javascript but I am not able to retrieve its value on my .aspx.cs coding page in asp.net2.0.
My text box code is :
<input type="text" class="fancy" size="10" maxlength="10" readonly="reado nly" name="date1" value="" id="txtDob"/>
<input type="button" class="fancyBut ton" onclick="setDat e('date1')" value="DOB" />
When i give the input type="text" a runat="server" tag, it gives an error that function is nt correctly defined.....How can i access the value of html textbox on .cs page?
Thanku for everyone who will help me out
I am making a calender control using javascript but I am not able to retrieve its value on my .aspx.cs coding page in asp.net2.0.
My text box code is :
<input type="text" class="fancy" size="10" maxlength="10" readonly="reado nly" name="date1" value="" id="txtDob"/>
<input type="button" class="fancyBut ton" onclick="setDat e('date1')" value="DOB" />
When i give the input type="text" a runat="server" tag, it gives an error that function is nt correctly defined.....How can i access the value of html textbox on .cs page?
Thanku for everyone who will help me out