I think there is a typo. You typed *dayCick:* It should be *dayClick*

http://fullcalendar.io/docs/mouse/dayClick/

On Wed, Sep 17, 2014 at 5:48 PM, Mohammed Rashid <[email protected]>
wrote:

> 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 [email protected].
> To post to this group, send email to [email protected].
> 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.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj8Zz8kagj-s3-i_-HuSw6JL-zgYrrNp66ZO5CH3f5roqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to