rails+ajax slowness in IE

S

Sam Williams

I'm trying out a very simple bit of Ajax using the Rails helper. While
it works just fine in Firefox, it takes about 30 seconds for it to work
in IE6.

Any ideas?

Starting with a fresh Rails app, I've added the following:

---------------------------------------------------
index_controller.rb:
---------------------------------------------------
class IndexController < ApplicationController

def index
end

def ajax
render_text "an ajax result!"
end

end

---------------------------------------------------
index.rhtml:
---------------------------------------------------
<html>
<head>
<%= javascript_include_tag "prototype" %>
</head>
<body>

<%= link_to_remote "do some ajax",
:url=>{
:controller=>"index",
:action=>"ajax"
},
:update=>"results"
%>

<div id="results">
nothing yet
</div>
</body>
</html>
 
L

Luke Galea

I've noticed the same slowness so I'm definately intrested if anyone knows
what causes this.

it seems not all versions of IE6 have the problem.. specifically I know that
my laptop running the absolute newest version of IE6 running on XP SP2 is
fine.. but when I've deployed apps based on the assumption that all
"Sub-versions" of IE6 will behave with ajax the same, I found that's not the
case.
 
S

Sam Williams

Good, I'm glad to know I'm not alone. That's strange, though -- the
stuff prototype.js does isn't all *that* complex; I would have thought
it would have been tested better than that.

Anyone have any ideas on what, specifically, IE could be choking on?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top