EasyUI Forum
May 16, 2024, 08:37:58 AM *
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 ondbclick event on calendar??  (Read 5949 times)
aboboo
Newbie
*
Posts: 15


View Profile
« on: January 12, 2015, 02:44:32 AM »

How to add double click event on calendar ?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: January 12, 2015, 03:25:05 AM »

Please try this:
Code:
$('#cc').find('.calendar-day').bind('dblclick', function(){
var s = $(this).attr('abbr');
console.log(s); // the date information
})
Logged
aboboo
Newbie
*
Posts: 15


View Profile
« Reply #2 on: January 12, 2015, 06:35:21 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!