<%= observe_field 'search', :frequency => 0.5, :update => 'searchResults', :url => { :controller => 'blog', :action=> 'search' }, :with => "'criteria=' + escape(value)", :loading => "document.getElementById('busy'). style.display='inline'", :loaded => "document.getElementById('busy'). style.display='none'" %>