Search code examples
jqueryruby-on-railsjquery-uijquery-ui-datepicker

How do I connect jQuery Datepicker to my Ruby on Rails form?


I'm trying to use the jQuery Datepicker to set a date field in my Ruby on Rails form, but I can't work out how to do it. Can someone point me in the right direction?


Solution

  • Ryan Bates has a really great explanation of all of this:

    http://railscasts.com/episodes/213-calendars (older version you can watch for free) http://railscasts.com/episodes/213-calendars-revised (revised version you need a subscription to watch)