I used the following Jquery to load calendar on clicking HREF but it does not work can any one tell why
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> <a class="click-on-link" href="#">show datepicker</a>
My Jquery is as follows
<script type="text/javascript"> function showDate(date) { } $(function() { $('#ctl00_ContentPlaceHolder1_TextBox2').datepick(); $('#clickOnIt').click( function() { showDate( $(this).val() ); } ); }); </script>
Can any one tell what to do