var isIE =navigator.userAgent.toLowerCase().search(/(msie\s|trident.*rv:)([\w.]+)/)!=-1;
检测是否IE浏览器 执行IE11
var isIE =navigator.userAgent.toLowerCase().search(/(msie\s|trident.*rv:)([\w.]+)/)!=-1;
检测是否IE浏览器 执行IE11
转载于:https://www.cnblogs.com/zhenzhong/p/3453683.html