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/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/25d7a77bb0cc5702e15e920155c92a39%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.