How do you create an event when the user clicks on any part of the calendar? and then store it in the database as a new event?
I know you have to use: select: function(start, end, allDay) to get the “start” and “end” times. But after I get this data how do I pass it to the database?
Thanks!
You may use an ajax request to store the new event in your DB.
There is a demo on the projects homepage, which can easily be adapted.
Via jQuery for example like this :
If you need to react on a specific click, you can also try this, but you have to grep the event end or duration by yourself.