jquery datepicker in asp.net

Posted by Abu Hamzah on Stack Overflow See other posts from Stack Overflow or by Abu Hamzah
Published on 2010-04-26T15:03:47Z Indexed on 2010/04/26 15:13 UTC
Read the original article Hit count: 209

Filed under:
|

whats wrong with the below code, its throwing me an error of Compiler Error Message: CS1002: ; expected

    $(document).ready(function() {

      $('<%StartDate%>').datepicker({ showOn: 'button',
          buttonImage: '../images/Calendar.png',
          buttonImageOnly: true, onSelect:
                function() { },
          onClose: function() { $(this).focus(); }
      }); 
    });

<label for="sd">StartDate:</label>
    <asp:TextBox ID="StartDate" runat="server"></asp:TextBox>

© Stack Overflow or respective owner

Related posts about datepicker

Related posts about ASP.NET