Älphä Blüë wrote:
I've been trying to find a date picker that works really well with
Rails. I've looked into the following thus far:
jMaki Widget jQuery.datepicker
However, none of these provide any information on how to use them with
Every JS date picker I'm aware of populates a form field. Just submit
the form containing that field, and you'll get the data you want.
There's nothing magical about it.
I'm surprised to see that there is very
little documentation about this area.
There's really nothing to document, provided you understand how forms
are submitted in Rails.
Rails and ajax go hand in hand..
Not really. Rails provides a few canned Ajax helpers (that probably
should be avoided in any case -- or used with lowpro -- since they
generate inline JS), and deals nicely with XML and JSON requests, but
that's about it. (I've done complex Ajax development, but never with
Maybe my google is broke...
No, I think you're looking for an explanation of something that's too
trivial for most people to write about.