Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://fullcalendar.io/js/fullcalendar-2.3.1/fullcalendar.css">
<link rel="stylesheet" href="http://fullcalendar.io/js/fullcalendar-2.3.1/fullcalendar.print.css">
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<div id="calendar"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.3/moment.min.js"></script>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https:////cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.1/fullcalendar.min.js"></script>
  
<script>
$('#calendar').fullCalendar({
  dayClick: function(){
    alert('WTF!!!!');
  }
});
$('#calendar').on('click', function(evt){
  console.log(evt.currentTarget);
})
//$('#calendar').fullCalendar( 'changeView', 'agendaDay' );
</script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
ray760pro
0viewers