0

我试过 rahul 的代码。看起来像这样

$("input:text.inputTypeDate").datepicker({
        dateFormat: "dd/mm/yy",
        changeMonth: true,
        changeYear: true
    });
});

ASP

<asp:TextBox ID="txtDt" runat="server" Width="120px" class="inputTypeDate">
</asp:TextBox>

它在页面加载时工作正常,但是当我清除文本框时,它停止工作。

4

0 回答 0