I have the following tag in a view:- <%= form_tag url_for({:controller => params[:area], :action => :search, :area => params[:area] }), :method => :get, :remote => true do %> <%= label_tag(:query, "Search for:") %> <%= text_field_tag("query", params[:query], :autocomplete => "off", :onKeyPress=>"return disableEnterKey(event)") %> <%= submit_tag("Search", :name => nil, ) %> On reaching the controller in question request.xhr? is = to false Anyone has any ideas why? or what am I doing wrong. I have prototype.js and rails.js files loaded in my layout files. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.