IE8 No such interface supported

3 posts, 0 answers
  1. Karl Mikesell
    Karl Mikesell avatar
    55 posts
    Member since:
    May 2010

    Posted 05 May 2012 Link to this post

    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. Karl Mikesell
    Karl Mikesell avatar
    55 posts
    Member since:
    May 2010

    Posted 06 May 2012 Link to this post

    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.
  3. Kendo UI is VS 2017 Ready
  4. Karl Mikesell
    Karl Mikesell avatar
    55 posts
    Member since:
    May 2010

    Posted 06 May 2012 Link to this post

    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.
Back to Top