I have successfully managed to display the Calendar on my Ruby page by
adding necessary callouts to the css and javascript files and have
successfully managed to display the calendar:
<script>
$(document).ready(function() {
$('#calendar').fullCalendar({
})
});
</script>
This works which is great.
now I am having difficulty trying to display an alert message which
should work by using:
<script>
$(document).ready(function() {
$('#calendar').fullCalendar({
dayCick: function() {
alert('a day has been clicked!');
}
})
});
</script>
but this function does not work and is the same as before. Can an expert
please help.
--
Posted via
http://www.ruby-forum.com/.