0
我用date_select創建使用Rails 4使用GET與date_select
date_select('range', 'start_date', { :order => [:day, :month, :year], :start_year => 2008, :end_year => Date.current.year, :use_month_numbers => true, :default => session[:start_date]}, {:method => :get, :onchange => "document.dsform.submit()"})
下拉菜單然而,該數據與POST請求而不是GET發送。這裏出了什麼問題?
太棒了,這個工程。謝謝。 – Albert