On Sep 2, 9:29 am, AppleII717 <[email protected]> wrote:
> select_month(date, options = {}, html_options = {})
>
> I have:
>
> select_month(0,:include_blank => true, :onchange => "setBirthMMDD" )
>
> I know I've gotten html options to work on form fields, but maybe I'm
> missing something on how the html_options hash has to be formatted.
>
If you do that ruby doesn't know that you want the first pair to be in
one hash and the second in another - you have to be explicit (ie this
time you don't get to omit the {} round the hashes.
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---