This is a migrated thread and some comments may be shown as answers.
IE8 No such interface supported
2 Answers 55 Views
This is a migrated thread and some comments may be shown as answers.
Karl Mikesell
Top achievements
Rank 1
Karl Mikesell asked on 05 May 2012, 05:39 PM
Using kendoMenu.append method in IE8 jQuery contains function fails (SCRIPT16386:  No such interface supported)
 
jquery-1.7.2.min.js, line 3 character 26393:  ?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0}:

This is clearly an IE8 problem, Targetting IE9 & using Chrome kendoMenu works, using same everything.  Any workaround for IE8 clients?

2 Answers, 1 is accepted

Sort by
0
Karl Mikesell
Top achievements
Rank 1
answered on 06 May 2012, 02:03 PM
This is a known jQuery issue:  http://bugs.jquery.com/ticket/10832
a.contains(b): results in No such interface supported

The problem is IE 9: <meta http-equiv="X-UA-Compatible" content="IE=8" />; which is set on OOTB SharePoint pages.

a.compareDocumentPosition only works when running IE 9 mode; which SharePoint does not do.

Ideas would be helpful.
0
Karl Mikesell
Top achievements
Rank 1
answered on 06 May 2012, 11:44 PM
This was a simple programming error where the append referenceItem parameter was the kendoMenu object not the DispHTMLUListElement (i.e. kendoMenu.element).  IE bulked at seeing the kendoMenu object in the contains(b) operation which happens to be in the jQuery source code.

All is good now.
Tags
Menu
Asked by
Karl Mikesell
Top achievements
Rank 1
Answers by
Karl Mikesell
Top achievements
Rank 1
Share this question
or