is it possible to use Ajax and make the result as select list with Formtastic?
example:
semantic_form_for @user, :url => profile_path(@profile.id) do |f|
- f.inputs do
- f.input :province, :label => "Province", :as => :select, :collection => ["province-1", "province-2", "province-3"]
- f.input :city, :label => "City", :as => :select
- f.buttons do
= f.submit "Submit"
I want to make city's select list change dynamically based on province.