This is my query i need the tooltip for all the days eg: when mouse over moves to the sep/27/2011. tooltip should display should show as “Tuesday,September 27,2011”. How to do implement this?.This is my jquery datepicker
<script type="text/javascript">
$(function() {
$( "#<%= this.txtFrom.ClientID %>" ).datepicker({
showOn: 'both',
buttonImage: "Images/calendar.gif",
buttonImageOnly: true,
showmonth:true,
autoSize: true,
changeMonth: true,
changeYear: true,
showAnim: 'slideDown',
buttonText: "",
duration: 'fast',
showOtherMonths: true,
selectOtherMonths: true
});
$(".ui-datepicker-trigger").mouseover(function() {
$(this).css('cursor', 'pointer');
});
});
</script
>
Finally i found the solution:
beforeShowDay: function(date) { return [true, '', $.datepicker.formatDate('DD, MM d, yy', date)]; },
Then
//otheroptions
Think you will need to have it on onSelect method:
Im using the
alttext in this example to give you the format on the inputlive example: http://jsbin.com/eliwut/