//magic happens here
$("#<%=txtDate.ClientID %>").value = "";
$("#<%=txtDate.ClientID %>").val("");
{0}
.replace