title: Datepicker ASP.NET
body: <p>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</p>
  
  <pre><code>&lt;script type="text/javascript" language="javascript"&gt;
   $(document).ready(dateselect)
      function dateselect()
       {
        var date1 = $("#Button1").datepicker();
       } 
  &lt;/script&gt;
  &lt;asp:Button ID="Button1" runat="server" Text="Button"  /&gt;
  </code></pre>