M_I_R
1
Hi,
I am creating a dropdown list with the follwoing code which work
perfectly
<%= f.collection_select (:building_id,
@buildings, :id , :build_title , :prompt => “select”) %>
but i want to use ONCHANGE attribute to it how will i do this ,
please help i am new to RoR
M_I_R
2
Perhaps observe_field method helps you:
http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html#M001654
2010/1/24 M I R [email protected]
–
You received this message because you are subscribed to the Google G.
“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][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
–
Bruno Grasselli
Blog: http://brunograsselli.com.br
Twitter: http://twitter.com/grasselli