本文介绍了如何将jQuery Datepicker连接到Ruby on Rails表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用jQuery Datepicker在Ruby on Rails表单中设置日期字段,但是我不知道该怎么做.有人可以指出我正确的方向吗?

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?

推荐答案

Ryan Bates对所有这些都有很好的解释:

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

http://railscasts.com/episodes/213-calendars (旧版本可以免费观看) http://railscasts.com/episodes/213-calendars-revised (修订版您需要订阅才能观看)

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)

这篇关于如何将jQuery Datepicker连接到Ruby on Rails表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 13:44