Note that there are some explanatory texts on larger screens.

plurals
  1. POjquery.autocomplete doesn't work in compability mode
    primarykey
    data
    text
    <p>I've read all the results I can find on SO about this without finding anything that applies to me, so don't judge me too quickly :)</p> <p>I am using <code>jquery.autocomplete</code> downloaded from here: <a href="http://www.dyve.net/jquery/?autocomplete" rel="nofollow noreferrer">http://www.dyve.net/jquery/?autocomplete</a> together with <a href="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.js" rel="nofollow noreferrer">http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.js</a></p> <p>This all works well in IE8 and FF, but as soon as I activate compability mode in IE8 I keep getting:</p> <pre><code>Microsoft JScript runtime error: Object doesn't support this property or method </code></pre> <p>When looking in the call stack, This is the one where it breaks:</p> <pre><code>&lt;script type="text/javascript"&gt; $().ready(function() { $("#123").autocomplete("www.google.se"); }); &lt;/script&gt; </code></pre> <p>and then the calling function is this:</p> <pre><code> if ( jQuery.readyList ) { // Execute all of them jQuery.each( jQuery.readyList, function(){ this.call( document, jQuery ); }); // Reset the list of functions jQuery.readyList = null; } </code></pre> <p>where this line throws the error:</p> <pre><code>this.call( document, jQuery ); </code></pre> <p>Does anybody know why this happens? As mentioned above, works super in IE8 and firefox, but not in compability mode(IE7)</p> <p>EDIT: changed the autocomplete code to have no dependencies on methods or textboxes</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload