我在这个网站上查了一些与toastr和IE 10有关的帖子,这些帖子在运行时显示错误:
options = {
tapToDismiss: false,
toastClass: 'toast',
containerId: 'toast-container',
debug: false,
fadeIn: 300,
fadeOut: 1000,
extendedTimeOut: 1000,
iconClass: 'toast-info',
positionClass: 'toast-top-right',
timeOut: 5000,
titleClass: 'toast-title',
messageClass: 'toast-message'
};
toastr.success("Email Sent Successfully", "Email Sent");
面板显示但随后抛出错误:
Line: 75 Error: Syntax error, unrecognized expression: Syntax error, unrecognized expression: focus
指的是jquery.min.js
{throw"Syntax error, unrecognized expression: "+g;}
答案 0 :(得分:0)
看起来它干扰了旧版本的JQuery - 使用了JQuery 10,一切似乎都没问题。
由于