Topic: Get value from drop-down list
I have a drop-down list where you can select a person.
<%= select_tag "person", options_from_collection_for_select(Person.all, :id, :name, 1) %>
When a person is selected I want to display that persons phone number. How can I do that?