= render :partial => "contacts/details"
%b= regions_in_area(@area) # from contacts_helper.rb sending back
a string according to @area
upon a drop down change , an Ajax request is send to
contacts#change_area action with a new area found :
@area = Area.find(params[:id])
and the change_area.js is very simple , replacing the .contact_details
this runs very well on the first drop down change, but on the second
change, even if the @area is changed and also the string from the
helper... the new string is NOT displayed ...
what's wrong in my code ?
thanks for your feedback
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 firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.