$(".eventName").click(
function () {
var eventId = $(this).attr('id');
var role = $(this).attr('dir');
var todo = 'viewDetails';
$("#details").load("plugins/company_calendar/calendar.php?eventId="+ eventId +"&todo="+ todo +"&role="+ role );
$(this).find('.eventDetails').css("left", $(this).position().left + 20);
$(this).find('.eventDetails').css("top", $(this).position().top + $(this).height());
$(".eventDetails").fadeIn(10);
}
);
Is it possible to append the data that I load in the details??
sorry load just replace’s the content of the element with te result.
You should do