Image_submit_tag, :get method and x&y issue

For search functionality I am using :get method to post the form. I am
using image_submit_tag.

<%= form_tag({:action => 'search'},{:method => :get}) %>
                 <%= text_field_tag 'term' %>
                 <%= image_submit_tag "search.png",:name => nil%>

Problem is that when the form is submitted then firefox adds two more
params. This is what the URL looks like after submission.


It should be noted that only firefox sends ‘x’ and ‘y’ params. IE
it. What should be done so that firefox doesn’t send ‘x’ and ‘y’


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs