With the agenda view, 7 days are displayed on my screen and i have buttons to navigate trough the month (ie go to next day). I have a function that give me on click the start and end of the timeslot i clicked. It works fine on the 7 days but only on the loaded page, but if i click to go to the next day and i click on a timeslot it don't work anymore. I check the html structure it still the same but my function don't work.
here is my code :
$("div.fc-slats table tbody tr").click(function () {
var borne_sup = $(this).attr("data-time");
var borne_inf = $(this).next().attr("data-time");
console.log(borne_sup);
console.log(borne_inf);
});
Can you help me please ?