I
iHavAQuestion
Sir,
I have a ASP cotrol text box and a image button, on click of which I call a
javascript(pop up calender) and the below code works fine
What if i have to achive the same using ASP.NET control
<asp:Text box>.....</asp:Text box>
Can any one please help me out.
CODE
------
<input type="text" id="txtDateIssued" style="width: 95px; height: 16px"
value=" mm/dd/yyyy" onfocus="if(this.value=='mm/dd/yyyy') this.value='';"
onblur="if(this.value=='') this.value='mm/dd/yyyy';" />
<td style="width: 10px" align="justify">
<a href="javascript:OpenCal('txtDateIssued');">
<img alt="" src="Templates/Main/Images/pdate.gif" width="12"
height="12"></a>
I have a ASP cotrol text box and a image button, on click of which I call a
javascript(pop up calender) and the below code works fine
What if i have to achive the same using ASP.NET control
<asp:Text box>.....</asp:Text box>
Can any one please help me out.
CODE
------
<input type="text" id="txtDateIssued" style="width: 95px; height: 16px"
value=" mm/dd/yyyy" onfocus="if(this.value=='mm/dd/yyyy') this.value='';"
onblur="if(this.value=='') this.value='mm/dd/yyyy';" />
<td style="width: 10px" align="justify">
<a href="javascript:OpenCal('txtDateIssued');">
<img alt="" src="Templates/Main/Images/pdate.gif" width="12"
height="12"></a>