Dienstag, 10. Januar 2012

Internet Explorer 8 , Jquery & autocomplete

Long time no post,
might be because the world is just getting a little better in between ?
Maybe !

Just had a very classical TTMA today.

I have a javascript using query autocomplete function, that works brilliant in any browser
i tried but not in one out of three IE 8 installations ...

I just got the error message KB927917 (KB 927917) - process stopped and the page
was only displayed half...

The answer:
jquery autocomplete can ONLY and ONLY be used within document.ready.

Just move autocomplete init code into $(document).ready(function(){ [place here] }) block and all will work fine.

This happens only in a very few IE8`s but it will happened :D

Keine Kommentare:

Kommentar veröffentlichen