Hello, I have this code in ruby on rails view (.html.erb): <%= text_field :poll, :option3_text, :size => 20, :class => ''topicField'' %> Which translates in HTML code to: <input id="poll_option3_text" class="topicField" type="text" size="20" name="poll[option3_text]"/> When I print the parameters passed from the browser inside Ruby console, it prints correctly when using FireFox but it doesn''t pass it at all with IE. For instance, FireFox prints params (puts params) as: .....option3_textTHE_OPTION_3_VALUE...... While IE doesn''t even have option3_text in it''s parameters list. Any ideas, Thanks, Tam -- 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 -~----------~----~----~----~------~----~------~--~---
Mark Reginald James
2008-Oct-18 23:02 UTC
Re: IE doesn''t take parameters generated by rails Firefox does
Tam Kbe wrote:> Hello, > > I have this code in ruby on rails view (.html.erb): > > <%= text_field :poll, :option3_text, :size => 20, :class => ''topicField'' > %> > > Which translates in HTML code to: > > <input id="poll_option3_text" class="topicField" type="text" size="20" > name="poll[option3_text]"/> > > When I print the parameters passed from the browser inside Ruby console, > it prints correctly when using FireFox but it doesn''t pass it at all > with IE. > > For instance, FireFox prints params (puts params) as: > .....option3_textTHE_OPTION_3_VALUE...... > > While IE doesn''t even have option3_text in it''s parameters list.Check that your form and text field are in legal HTML places. For example, that the form does not straddle other elements, and that it is not inside a table (except wholly within a table cell). -- Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.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 -~----------~----~----~----~------~----~------~--~---