IE 11不支持'compareendpoints'方法,什么是等效的有效方法? [英] IE 11 does not support 'compareendpoints' method, what is the equivalent valid method?

查看:60
本文介绍了IE 11不支持'compareendpoints'方法,什么是等效的有效方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JavaScript runtime error: Object doesn't support property or method 'compareEndPoints'






IE 11中的




替换它的等效方法是什么?



我尝试过:



请帮助找到'compareEndPoints'的等效方法




in IE 11

what is the equivalent method to replace this?

What I have tried:

please help find equivalent method for 'compareEndPoints'

推荐答案

根据该书中的信息:专业JavaScript对于Web开发人员 - Nicholas C. Zakas - Google图书 [ ^ ]



As per information from that book: Professional JavaScript for Web Developers - Nicholas C. Zakas - Google Books[^]

引用:

IE中的 compareEndPoints 方法类似于DOM范围的 compareBoundaryPoints

The compareEndPoints method in IE is similar to the DOM range's compareBoundaryPoints.


这篇关于IE 11不支持'compareendpoints'方法,什么是等效的有效方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆