Hi,
I have some RJS code to update my select fields. It perfectly works on
Firefox, but IE don't want to send params to controller.
Here is the code in view:
<%= select("incident","service_group_id", @service_groups,{:selected =>
0},{
:onchange => remote_function(
:update => "incident_service_id",
:url => {:action => :update_services},
:with => "'service_group_id=' + this.value")
}) %>
So in Firefox I have following params for ex.:
{"action" => "update_services", "controller" => "incidents",
"service_group_id" => "2"}
But in IE:
{"action" => "update_services", "controller" => "incidents"}
Tested on ruby 1.8, rails 2.3.4, Firefox 3.5, Internet Explorer 6,7,8
Hope, u help me
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---