Hi
I've added the code snippet you gave me to the resource.html from the examples to get the date, time and the resource on the calendar click event.
$('#calendar').on('click', '.ui-cal-time', function (e) {
var dt = $(this).closest('.ui-cal-resource').attr('date');
var st = $(this).attr('time');
var res = $(this).closest('.ui-cal-resource').attr('resource');
alert(res);
}
It works great for Studio 1 to Studio 3 but you get "undefined" for Ground Floor.
Hi I've added the code snippet you gave me to the resource.html from the examples to get the date, time and the resource on the calendar click event.
It works great for Studio 1 to Studio 3 but you get "undefined" for Ground Floor.
Any ideas?
Pete