EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: aboboo on January 12, 2015, 06:38:38 PM



Title: How to add tooltip on calendar??
Post by: aboboo on January 12, 2015, 06:38:38 PM
when the mouse over the calendar, show the tooltip.


Title: Re: How to add tooltip on calendar??
Post by: jarry on January 12, 2015, 07:16:07 PM
Please try the code below:
Code:
$('#cc').find('.calendar-day').each(function(){
var s = $(this).attr('abbr');
$(this).tooltip({
content: s
})
})


Title: Re: How to add tooltip on calendar??
Post by: aboboo on January 12, 2015, 08:23:18 PM
thank you !