# IE 5.5 not sending params when it sends Ajax

**URL:** <https://www.ruby-forum.com/t/ie-5-5-not-sending-params-when-it-sends-ajax/88435>\
**Category:** Rails\
**Created:** [March 11, 2007, 12:28am UTC](https://www.ruby-forum.com/t/ie-5-5-not-sending-params-when-it-sends-ajax/88435 "2007-03-11T00:28:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wpwood](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/d6d6ee/32.png) [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Post date:** [March 11, 2007, 12:28am UTC](https://www.ruby-forum.com/t/ie-5-5-not-sending-params-when-it-sends-ajax/88435/1 "2007-03-11T00:28:28Z")

</div>

Greetings!

When a vistor enters my site, the first page submits via a  
form\_remote\_tag that calls a method that uses responds\_to to see if the  
visitor has js enabled.

My problem is that IE5.5 is not sending anything but the controller and  
action in the params hash. IE6, IE7, and FF all send what they’re  
supposed to send. It’s right there, or not there, in the log.

IE5.5 entry:  
Parameters: {“action”=\>“check\_js”, “controller”=\>“create”}

IE6 entry:  
Parameters: {“creator”=\>“patient”, “commit”=\>“Start”,  
“action”=\>“check\_js”, “new\_or\_update”=\>“new”, “controller”=\>“create”}

FF entry:  
Parameters: {“creator”=\>“patient”, “commit”=\>“Start”,  
“action”=\>“check\_js”, “new\_or\_update”=\>“new”, “controller”=\>“create”}

I’m stumped, have Googled my a$$ off, and cannot figure out what might  
be going on here or how to fix it. Any ideas or info would be greatly  
appreciated!

The form\_remote\_tag looks like:

\<%= form\_remote\_tag(:url =\> {:action =\> ‘check\_js’}) %\>

\<%= radio\_button\_tag “new\_or\_update”, “demo”, true %\>

  

\<%= radio\_button\_tag “new\_or\_update”, “new”, false

  

\<%= radio\_button\_tag “new\_or\_update”, “update”, false

  

\<%= hidden\_field\_tag(“creator”, ‘patient’) %\>

 \<%= submit\_tag("Start", :class =\> 'submit-btn') %\>
\<%= end\_form\_tag %\>

The method looks like:

def check\_js  
respond\_to do |wants|  
wants.html {redirect\_to :action =\> ‘sorry’}  
wants.js {  
if params[:new\_or\_update] == ‘update’  
render :update do |page|  
page.redirect\_to :action =\> ‘choose\_emrec’  
end  
elsif params[:new\_or\_update] == ‘new’  
render :update do |page|  
page.redirect\_to :controller =\> ‘actor’, :action =\>  
‘edit\_patient’  
end  
else #if params[:new\_or\_update] == ‘demo’  
render :update do |page|  
page.redirect\_to :action =\> ‘explain\_demo’  
end  
end  
}  
end  
end

Any ideas?

Thanks,  
Bill

---

<div class="post-metadata">

**Author:** ![wpwood](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/d6d6ee/32.png) [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Post date:** [March 11, 2007, 3:55am UTC](https://www.ruby-forum.com/t/ie-5-5-not-sending-params-when-it-sends-ajax/88435/2 "2007-03-11T03:55:48Z")

</div>

form\_remote\_tag uses Prototype which isn’t “supported” in IE 5.5:

[http://wiki.script.aculo.us/scriptaculous/show/SupportedBrowsers](http://wiki.script.aculo.us/scriptaculous/show/SupportedBrowsers)

If you want this to work, you’ll have to debug and patch up the Ajax  
class yourself ☹

---

<div class="post-metadata">

**Author:** ![wpwood](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/d6d6ee/32.png) [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Post date:** [March 11, 2007, 5:10am UTC](https://www.ruby-forum.com/t/ie-5-5-not-sending-params-when-it-sends-ajax/88435/3 "2007-03-11T05:10:52Z")

</div>

Hi Eden,

eden li wrote:

> form\_remote\_tag uses Prototype which isn’t “supported” in IE 5.5:

Thank you. That’s exactly what I needed to know. I really appreciate  
your  
response.

Best regards,  
Bill
