Reg date format

in my page there is two drop down in which one should be year and month
and another should be corresponding year and month date should be
shown…for eg if i clicked may2007 ,in the next drop down it should list
31 days if i select feb 2007 it should show list of 28 days.is any one
knows solution for this?please reply…

try to use an onClick event with JS and render what you need through
rjs to the second element.

On 25 Mai, 10:47, Shiva K. [email protected]

You can use observe_field helper:
http://railsmanual.com/module/ActionView%3A%3AHelpers%3A%3APrototypeHelper/observe_field