I have an ajax call (when a check box is checked) to toggle the day field of date_select helper, and it works fine.
What I want to do is start the page with the day hidden, but if I do something like :discard_day => true, the ajax call doesn’t work
Thank you,
Rodrigo
11155
(-- --)
July 28, 2011, 5:45am
2
discard_day property takes hidden field instead of hide the day select
dropdown
So instead use discard property, you have to do hide by default on load
by javascript or by css
- Chirag Shah
Working with Ruby on Rails since july 2007. RoR web application development along with other technologies like LAMP.The reason to love programming with RoR is, it helps keep code simple, clean and nice…
Also working with php/cakephp etc.