I have noticed that on IE, the @params[:commit] does not come through on
image submit tags, but it does when the image is removed.
this fails:
<%= submit_tag( “Schedule”, {:type => “image”,
:src=>"/images/buttons/schedulecard.gif", :alt=>“Schedule Card”,
:class=>“button”})%>
but this works:
<%= submit_tag( “Schedule”, {:alt=>“Schedule Card”, :class=>“button”})%>
It seems as though the commit.x and commit.y will come through, is there
a
work around to have submit buttons show images here and still have the
@params[:commit] come through when posting from IE?
–
Regards,
Ian C.
349 Walden Street
Concord, MA 01742 USA
Direct Line: +1 (978) 6333372
Call Center Phone: +1 (714) 239 3875 (24 hrs)
Mobile Phone: +1 (617) 201 6463
Fax: +1(770) 818 5697
Suisse Phone: +41 (0) 22 548 1664
Skype: ian.connor