Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eventClick:function(clickedInfo)
- {
- if(confirm("Are you sure you want to delete this event?"))
- {
- var id = clickedInfo.event.id;
- $.ajax({
- url:"delete.php",
- type:"POST",
- data:{id:id},
- success: function() {
- alert('Deleted!');
- calendar.refetchEvents();
- }
- })
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement