I have designed a calendar.I have to open a dialog after selecting the dates.I used a filter option to select the dates. It is working fine. But the issue is dialog is opened for the inactive dates too. I want to open only for the available dates. Any suggestions? the sample is in the link
jQuery("#calendar").selectable({
filter: ".available",
stop: function() {
jQuery( ".ui-selected", this ).each(function() {
result.push( this.id);
});
var width = 250;
var height = 270;
jQuery('#dialog').dialog({
modal: true,
height:height,
width:width,
resizable: false,
draggable: false,
dialogClass: "flora"
});
jQuery('.flora.ui-dialog').css({ position:"absolute",top:"596px"});
}
});
