<script type="text/javascript">
$(document).ready(function () {
$("#txt_fromdate").datepicker({
showOn: "button",
buttonImage: "../Images/cal.png",
buttonImageOnly: true,
closeText: "Close",
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
maxDate: '30/12/2014',
yearRange: '1950:2014'
});
});
$(document).ready(function () {
$("#txt_todate").datepicker({
showOn: "button",
buttonImage: "../Images/cal.png",
buttonImageOnly: true,
closeText: "Close",
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
maxDate: '30/12/2014',
yearRange: '1950:2014'
});
});
</script>
when i click on image then calender display but i want that instead of image calender should be
open when i click on textbox ,, how can i do this by this code
plz help me