可可
unread,Sep 22, 2008, 1:45:38 AM9/22/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails Taiwan
我有一個畫面,左邊是查詢條件,右邊是查詢結果. 採用link_to 查詢 ,重新更新整個頁面顯示查詢結果
但查詢值,卻無法保留
目前查得 text_field_tag可保留原查詢值
<%= text_field_tag 'em', params[:em],:size=>10 %>
但其他如
radio_button_tag
collection_select(或select_tag)
如何保留原查詢值?
可否請大家幫忙
還是只能不更新整個頁面,採用link_to_remote??只更新右邊查詢結果??