EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: aboboo on January 12, 2015, 02:44:32 AM



Title: How to add ondbclick event on calendar??
Post by: aboboo on January 12, 2015, 02:44:32 AM
How to add double click event on calendar ?


Title: Re: How to add ondbclick event on calendar??
Post by: jarry 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
})


Title: Re: How to add ondbclick event on calendar??
Post by: aboboo on January 12, 2015, 06:35:21 PM
thank you!