简体   繁体   English

在IE 10中显示错误后,Toastr实现

[英]Toastr Impletmentation, after displaying error in IE 10

I've checked a few posts on this site related to toastr and IE 10, that displays an error when run: 我已经检查了该网站上有关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");

The panel displays but then throws an error: 面板显示,但引发错误:

Line: 75 Error: Syntax error, unrecognized expression: Syntax error, unrecognized expression: focus

Which refers to jquery.min.js 指的是jquery.min.js

{throw"Syntax error, unrecognized expression: "+g;}

Looks like it was interference with an old version of JQuery - used JQuery 10 and all seems OK. 看起来好像是在干扰旧版本的JQuery-使用了JQuery 10,一切似乎还可以。

Thanks 谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM