Shandy Nantz
2009-Sep-11 18:55 UTC
select_tag and remote_function not passing params in IE
Hi all,
I have this code:
<%= select_tag "user_prefix",
"<option><Choose Prefix></option>
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
<option>Dr</option>
<option>Ms</option>
<option>Captain</option>
<option>Father</option>
<option>Hon</option>
<option>Judge</option>
<option>Prof</option>
<option>Mstr</option>
<option>Rabbi</option>
<option>Rev</option>
<option>Sen</option>
<option>Sie</option>
<option>Sister</option>",
:onchange => remote_function( :update => ''prefix'',
:url => { :action => ''set_prefix'', :id =>
@user.id},
:with => "''params='' + escape(value)" )
%>
My problem is that when the ''set_prefix'' function gets called
in IE
Browsers the value does not get passed along in the params list, but for
Firefox and Chrome Browsers the value does. Has anyone come across this
before, or do I have an error in my code? Thanks for any help,
-Shandy
--
Posted via http://www.ruby-forum.com/.