Hi Hassan,

Do you have any idea of what behavior to expect if I explicitly set
each radio button's checked property to unchecked?  What will take
precedence according to W3C specs (or is this all just another browser
war casualty)?

    <%= f.radio_button(:hypotonic_saline, nil, :checked =>
"unchecked") %>

Thanks, Bill


On May 8, 8:58 am, Hassan Schroeder <hassan.schroe...@gmail.com>
wrote:
> On Thu, May 7, 2009 at 7:03 PM, zambezi <b.but...@overhydration.org> wrote:
> > ...  If I am going to use a three button
> > group configuration, I need to have them all unchecked initially.
>
> And as the W3C spec I quoted indicates, you *can't count on that*
> if you're using HTML. Period. If none are explicitly checked by you,
> the user agent can check any one it wants as a default. Adding a
> third button doesn't change that.
>
> Perhaps you should explore using something like Flash/Flex for
> your interface?
>
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to