Kiry@TBです。 今回はRails3.2のアプリケーションで、jQuery UIのdatepickerを利用する際の設定や書き方などを整理してみました。 jquery-ui-railsというgemもあるようですが、今回それを使用しない場合の例となります。便利なものを利用してしまうと、後戻りしてまで調べることもなくなってしまいそうで・・・ そこで敢えて手間をかけてみました。 Webシステムでなくても日付の入力は面倒です。テンキーのないキーボードでは尚更です。仕事では何かと日付(受注日、見積有効期限、etc…)を扱うことも多いので少しでも楽に入力したいものです。 あまり知られていない技として、ExcelではCtrl+;(セミコロン)で現在日付を入力することができます。ブラウザでも初めからこんな機能が使えるとよいのですが。 Railsでは日付の入力フォームをdate_selectというヘ