Hi all,
after allllooottt of research i found i could create a list box with
this code :
<select name="itms[]" multiple="multiple" size="15">
<option></option>
<%= options_from_collection_for_select
@items,:imei,:type_name,$var %><br/><br/>
</select>
<br> </br>
This will create the list box i was craving for, and populate it with
the items values from the DB , my question is this..
1) How can i create this list box with no values and be able to add
values to it as needed
2) Once i have a listbox with the new values how can i loop though the
values and submit each one to the db as a new value ?
Thanks. :)
--
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 [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.