For search functionality I am using :get method to post the form. I am also
using image_submit_tag.
<%= form_tag({:action => ''search''},{:method =>
:get}) %>
<label>Search:</label>
<%= text_field_tag ''term'' %>
<%= image_submit_tag "search.png",:name =>
nil%>
</form>
Problem is that when the form is submitted then firefox adds two more
params. This is what the URL looks like after submission.
http://localhost:3000/search?term=ROR&x=0&y=0
It should be noted that only firefox sends ''x'' and
''y'' params. IE doesn''t
it. What should be done so that firefox doesn''t send
''x'' and ''y'' params?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---