I have developed a application that shows the different events scheduled and the scheduled events are displayed in a calendar view. I have been able to pass the event details to the calendar. I have a link on the events that when I click, opens up a pop up and I can update the event. Well, this works if I just have one event in the cell ( April 16th in events.jpg). The problem comes up when I have multiple events on the same date. The visit_id that gets passed when I click the link is always the last ID in that cell even though the event ID is correctly displayed on the calendar. For eg, any link that I click on April 17 will have an event ID of 107. How do I correct this issue? Thank you for the help.