About generated id

hello:
1 what is html element’s id generated from the <%=select
“user”,“section”,User::SHIJIAZHUANG-%>,
it is:user_section ?
2 can i user an instance variable come from an action for select choice
param?
for example:<%=select “user”,“section”,@section-%>

Thank you!

On Jul 20, 8:52 am, Guo Y. [email protected]
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