IE7 Ajax problems

0 views
Skip to first unread message

Andreas Wahlin

unread,
Nov 3, 2006, 12:26:09 PM11/3/06
to rubyonrail...@googlegroups.com
I'm using prototype 1.5.0_rc1 (as far as I know, the one that comes
with the latest scriptaculous release)
I had "Ajax" problems with IE7, namely that it didn't work at all. I
found patch 3688 at
http://dev.rubyonrails.org/ticket/3688
but that didn't solve my problem. What did solve my problem was to
simply reverse the checking of ajax support on lines 627 - 629 into this
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
function() {return new XMLHttpRequest()}
in effect, i first check for microsoft proprietaries, then for the
"standard". it's said that ie7 should handle the "standard" but at
least in my case, this seemed not to be so.

any comments? (I did try to google and look inte the list archives
for a while back)

Andreas

Thomas Fuchs

unread,
Nov 3, 2006, 1:40:55 PM11/3/06
to rubyonrail...@googlegroups.com
Prototype 1.5 (latest from SVN) works fine for me with IE7. Any
specific error messages?

-Thomas

Dark Ambient

unread,
Nov 3, 2006, 1:56:43 PM11/3/06
to rubyonrail...@googlegroups.com
I found with IE7 that turning on script debugging let my prototype stuff work.

Stuart

Andreas Wahlin

unread,
Nov 4, 2006, 5:28:09 AM11/4/06
to rubyonrail...@googlegroups.com
I don't have it here now (so I should probably have waited before
replying) but as far as I can recall, there were no error messages.
The Ajax part just didn't work. Lists didn't get populated but pop-up
windows worked and so forth.
A bit as if I had tried it on IE6 with only an XMLHttpRequest object.
Also, as I mentioned, I don't have the latest latest SVN version,
perhaps I should try that out in some way :/

thanks for the response

Andreas

Lance Cheng

unread,
Nov 6, 2006, 1:23:07 AM11/6/06
to Ruby on Rails: Spinoffs
I think you should add the "try(){}...catch(){}" for XmlHttpRequest
objects;

Thomas Fuchs

unread,
Nov 6, 2006, 3:36:53 AM11/6/06
to rubyonrail...@googlegroups.com
Again, this is with an out-of-the-box IE7, with no settings changes whatsoever. Works perfectly fine. Are you sure you don't have any interfering 3rd-party stuff installed? Like anything from Norton?

best,
thomas
Reply all
Reply to author
Forward
0 new messages