是否有等效于使用没有 jRails 的 jQuery 的 Rails/Prototype observe_field 方法?
我正在使用 will_paginate 进行搜索时键入:
<%= observe_field('搜索',
:频率=> 2,
:update => '结果',
:loading => "Element.show('spinner')",
:complete => "Element.hide('spinner')",
:url => { :controller => 'foo', :action => 'search' },
:with => "'search=' + escape(value)") %>