If you read the source code for select_year carefully
(api.rubyonrails.org), you’ll see that any regular HTML options do not
get passed to the “select_html” call, just option tag values and
“select_html” - specific options (which are not HTML options).
I ended up using Prototype to set up the onchange handlers dynamically,
which, as it turns out, is a better practice, and was actually better
suited for what I was doing.
Thanks,
Wes
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.