jquery datepicker and aspx TextBox visible problem
- by senzacionale
$(".inputTypeDate").datepicker({
dateFormat: "dd.mm.yy",
changeMonth: true,
changeYear: true
});
<asp:TextBox ID="txtBirthday" runat="server" CssClass="inputTypeDate" Visible="false" ValidationGroup="urgent"></asp:TextBox>
in aspx we have some component set to Visible="false" then we change visibility to true. But jquery datepicker calendar does not work in this component. If Visible="true" by default then works.
Why and how to fix that. I think that problem is in changing visibility.