On Jul 20, 8:52 am, Guo Yangguang
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> hello:
> 1 what is html element''s id generated from the <%=select
> "user","section",User::SHIJIAZHUANG-%>,
> it is:user_section ?
Well the easiest way is to check for yourself but that sounds about
right.
> 2 can i user an instance variable come from an action for select choice
> param?
> for example:<%=select
"user","section",@section-%>
>
Of course you can.
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---