last day (15 days later) » 

8:10 PM
0
Q: How do I get the Bootstrap modal window to pop up when I click day on fullCalendar?

parithiI Have been working on a project for 2 months. I need to book a ticket according to the calendar. When the day is clicked, the bootstrap modal should show, but this code doesn't work: $('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title...

 
Try this $('#your-modal-id').on('show.bs.modal',function(){ /* your code here */ });
 
No improvement ..
 
Oh sorry, my code is useless I didn't understand your issue. Are you sure that the dayClick callback is well executed ?
 
yep ..But the modal popup doesn't show
 
Difficult to help you without your HTML code. Please edit your post.
 
8:10 PM
edited the post
please help me
i want to show the modal popup when the day is clicked in full calendar
 
Your code changed since your edit
I understand now what you're trying to do
Your code was not working cause your selector wasn't correct
it's not $('#fullCalModal').show();
but $('#fullCalModal').modal();
 

  last day (15 days later) »