$() is for DOM ids, not names, If you''re using rails helpers, then
it''s
probably $(''prop_type_0'').
Jason
On 5/2/07, Kad Kerforn
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
>
> I am trying to change the checked button in a radio button array named
> ''prop_type'' using
>
> page << "$(''prop_type[0]'') =
''checked''"
>
> got an error on the left side : prop_type[0]... it seems correct ...
> or not ?
>
> kad
>
> --
> Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---