Datepicker ASP.NET

nicwlzz

New Member
I am new to jquery, How do we make the date to appear in the textbox on the click of an button using jquery and ASP.NET? The calendar apears but it disappears very fast works fine with a textbox? What else do i need to include in the script of my button?I have used this function\[code\]<script type="text/javascript" language="javascript"> $(document).ready(dateselect) function dateselect() { var date1 = $("#Button1").datepicker(); } </script><asp:Button ID="Button1" runat="server" Text="Button" />\[/code\]
 
Back
Top