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. <body>
   2.   <%= form_remote_tag(:url => {:controller => :account, :action
=>
:update_profile},
   3.             :before => "if (!validateProfileFormOnSubmit(this)) {
return false; }") %>
   4.     <div class="profile_section">
   5.          <div class="section_header"><%= image_tag
"user_profile/title_general.gif", :alt=>''General
Info'', :size => ''95x12''
%></div>
   6.   <div class="left_column">
   7.         <form>
   8.             <fieldset>
   9.             <ul>
  10.                 <li class="language">
  11.                     <label>Language</label>
  12.                     <input name="gen_info[language]"
value="1"
checked="checked" type="radio"><label
for="language_english">
English</label>
  13.                     <input name="gen_info[language]"
value="2"
type="radio"><label for="language_french">
French</label>
  14.                 </li>
  15.                 <li><label class="medium_width"
for="email">Email
Address</label> <input size="25" id="email"
name="email" value="<%@current_user.login %>"
readonly="readonly" type="text"></li>
  16.                 <li><label class="medium_width"
for="full_name">First Name</label> <input
id="first_name"
name="gen_info[first_name]"
value="<%@gen_info.first_name.strip.squeeze(" ") %>"
type="text"></li>
  17.                 <li><label class="medium_width"
for="last_name">Last Name</label> <input
id="last_name"
name="gen_info[last_name]"
value="<%@gen_info.last_name.strip.squeeze(" ") %>"
type="text"></li>
  18.             </ul>
  19.             </fieldset>
  20.     </div>
  21. <div class="clear"></div>
  22.     </div>
  23.         <div id="save_profile"><%= image_submit_tag
"buttons/save_profile.gif" %></div>
  24.   </form>
  25. </body>
  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
-~----------~----~----~----~------~----~------~--~---