Save Button Problem in IE7

Hi,
I am unable to submit a form in IE7 using form_remote_tag , this works
pretty good in FF and Safari too.
View :

  1. <%= form_remote_tag(:url => {:controller => :account, :action =>
    :update_profile},
  2.         :before => "if (!validateProfileFormOnSubmit(this)) {
    

return false; }") %>
4.


5.
<%= image_tag
“user_profile/title_general.gif”, :alt=>‘General Info’, :size => ‘95x12’
%>

6.

7.
8.
9.

    10.

  • 11. Language
    12.
    English
    13. French
    14.

  • 15.
  • Email
    Address

  • 16.
  • First Name <input id=“first_name”
    name=“gen_info[first_name]” value="<%=
    @gen_info.first_name.strip.squeeze(" “) %>” type=“text”>

  • 17.
  • Last Name <input id=“last_name”
    name=“gen_info[last_name]” value="<%=
    @gen_info.last_name.strip.squeeze(" “) %>” type=“text”>

  • 18.

19.
20.

21.

22.

23.
<%= image_submit_tag
“buttons/save_profile.gif” %>

24.
25.
26.
27. CSS:
28.
29. div#user_profile_container div#save_profile {
30. text-align: center;
31. width: 785px;
32. margin-left: 36px;
33. padding: 15px 0 0 0;
34. }
35.
36. div#user_profile_container div#save_profile input.save_profile
{
37. margin: 10px 0 10px 0;
38. }

i was unable to understand why this is not submitting in IE7 and when
clicking on submit button the console is not generating any output and
the image path i had given is correct though;

any HElP ??

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