# Autocompleters and Sortables do not function in IE6

**URL:** <https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402>\
**Category:** Rails\
**Created:** [May 22, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402 "2008-05-22T17:13:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Hazlett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b5ac83/32.png) [@Christopher\_Hazlett](https://www.ruby-forum.com/u/Christopher_Hazlett)\
**Post date:** [May 22, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402/1 "2008-05-22T17:13:19Z")

</div>

I have two issues that I hope someone else has encountered and has a  
solution for.

First:  
I have several autocompleters on my site, and they function as  
expected in Firefox, Opera, IE7, but when I use them in IE6, I get no  
javascript errors for my local autocompleters, and all ajax  
autocompleters functions are firing as expected and returning the  
correct search results. The only problem, IE6 does not display the  
autocompleter results. I’ve tried any myriad of css combinations to  
correct the issue, but to no avail. Has anyone encountered this same  
issue before and how did you overcome it?

Second:  
I have a couple of sortable elements. They are showing up, but they  
are displaying all over the place (only in IE6). I have again tried  
changing the CSS in a number of ways, but to no avail. Has anyone  
encountered layout difficulties in IE 6 with the sortable functions.

I know these things work…I’ve seen them work with my own eyes in  
IE6, but for some reason, they won’t on my site.

Any help would be appreciated.  
-Chris

---

<div class="post-metadata">

**Author:** ![Christopher\_Hazlett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b5ac83/32.png) [@Christopher\_Hazlett](https://www.ruby-forum.com/u/Christopher_Hazlett)\
**Post date:** [May 22, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402/2 "2008-05-22T17:26:35Z")

</div>

can’t help you with your specific problems, but in similar situations it  
helped to run the page through a validator, since ie6 responds nasty on  
missing close tags and other invalid html or javascript.

---

<div class="post-metadata">

**Author:** ![Christopher\_Hazlett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b5ac83/32.png) [@Christopher\_Hazlett](https://www.ruby-forum.com/u/Christopher_Hazlett)\
**Post date:** [May 22, 2008, 7:17pm UTC](https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402/3 "2008-05-22T19:17:49Z")

</div>

Thanks.

Ran it through a validator which actually caught a few things, but to  
no avail.  
The elements still won’t display. I can’t figure out why. I had  
forgotten how much IE6 sucks until these errors reared it’s head.

-Chris

On May 22, 11:26 am, Thorsten M. \<rails-mailing-l…@andreas-

---

<div class="post-metadata">

**Author:** ![Christopher\_Hazlett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b5ac83/32.png) [@Christopher\_Hazlett](https://www.ruby-forum.com/u/Christopher_Hazlett)\
**Post date:** [May 22, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402/4 "2008-05-22T20:30:16Z")

</div>

I’ve declared the doc type (and have tried several different types for  
the pages) but that doesn’t seem to be affecting the functioning. Can  
you be a little more specific?

---

<div class="post-metadata">

**Author:** ![Christopher\_Hazlett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b5ac83/32.png) [@Christopher\_Hazlett](https://www.ruby-forum.com/u/Christopher_Hazlett)\
**Post date:** [May 22, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/autocompleters-and-sortables-do-not-function-in-ie6/138402/5 "2008-05-22T19:40:15Z")

</div>

Do you have a proper HTML declaration? Ajaxy stuff doesn’t work in IE6  
if it is in quirks mode.
