Save Button Problem in IE7

Srinath A.
Thu, 03 Jul 2008 14:16:26 -0000

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.                     <input name="gen_info[language]"
value="1"
checked="checked" type="radio"><label
for="language_english">
English
  13.                     <input name="gen_info[language]"
value="2"
type="radio">
French
14.
15. <label class="medium_width"
for="email">Email
Address <input size="25" id="email"
name="email" value="<%@current_user.login %>"
readonly="readonly" type="text">
16. <label class="medium_width"
for="full_name">First Name <input
id="first_name"
name="gen_info[first_name]"
value="<%@gen_info.first_name.strip.squeeze(" ") %>"
type="text">
17. <label class="medium_width"
for="last_name">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 ??
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---