# Save Button Problem in IE7

**URL:** <https://www.ruby-forum.com/t/save-button-problem-in-ie7/142115>\
**Category:** Rails\
**Created:** [July 3, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/save-button-problem-in-ie7/142115 "2008-07-03T16:16:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srinathbtech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@srinathbtech](https://www.ruby-forum.com/u/srinathbtech)\
**Post date:** [July 3, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/save-button-problem-in-ie7/142115/1 "2008-07-03T16:16:26Z")

</div>

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. 
2. \<%= form\_remote\_tag(:url =\> {:controller =\> :account, :action =\>  
:update\_profile},
3. 

```
        :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 ??
