Good morning sir Mohammed... correct if i'm wrong but you are using full calendar gem? i think this this jQuery code can help
<script> $('.cal').datepicker({ onSelect: function() { alert('Something were selected'); } }); </script> regards On 17 September 2014 09:18, Mohammed Rashid <li...@ruby-forum.com> wrote: > fullCalendar -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAMHNFH2Xxz7-Yjc6adMsbhHS8p23psUQf-ZNhbBcd0AXm-5b6A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.