<asp:TextBox ID="TextBox2" runat="server">asp:TextBox> <a class="click-on-link" href="#">show datepickera> My Jquery is as follows
<script type="text/javascript"> function showDate(date) { //alert('The date chosen is ' + date); } $(function() { $('#ctl00_ContentPlaceHolder1_TextBox2').datepick(); // assign anonimous function as event handler and call showdate from it $('#clickOnIt').click( function() { showDate( $(this).val() ); } ); }); script> Can any one tell what to do

Dorababu MekaPosted May 30, 2011, 4:14 AM
Dorababu MekaPosted May 27, 2011, 8:43 AM
instead of
Strange but i came to know this type of issues will come :)
Dorababu MekaPosted May 27, 2011, 8:37 AM
http://hackingon.net/files/jquery_datepicker/open_on_image.htm
But if i download the scripts and try running this is not loading i would like to change the years starting from 1950 or so
Dorababu MekaPosted May 27, 2011, 8:34 AM
But on focus of Textbox1 the calendar is getting loaded i would like to stop that i am looking for that i used the script from here http://keith-wood.name/datepick.html
can you help me for what i am looking
Posted May 27, 2011, 8:05 AM
Try this way,
Insteada of first try with button, if it works then there is a problem by using href....
If the button also not working then there is some other problem...
Dorababu MekaPosted May 27, 2011, 6:05 AM
Posted May 27, 2011, 5:54 AM
href="#" id="clickOnIt">show datepicker
$('#clickOnIt').click(function() {
//sow calerndar here
});
Hope this helps you.