EasyUI Forum
May 16, 2024, 01:21:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to add tooltip on calendar??  (Read 6072 times)
aboboo
Newbie
*
Posts: 15


View Profile
« on: January 12, 2015, 06:38:38 PM »

when the mouse over the calendar, show the tooltip.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 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
})
})
Logged
aboboo
Newbie
*
Posts: 15


View Profile
« Reply #2 on: January 12, 2015, 08:23:18 PM »

thank you !
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!