在firefox中,这个工程很棒 - toastr(https://github.com/CodeSeven/toastr)显示成功和错误信息。在IE中,没有错误,并且不显示消息。我是如何调用toastr方法的问题?toast信息不在IE中显示
$.ajax({
url: '/api/emailtemplate/',
type: 'POST',
data: ko.toJSON(self),
contentType: 'application/json',
//dataType: 'json',
success: function (result) {
toastr.success('Template was saved successfully!');
},
error: function() { toastr.error('Template was not saved.', 'Template error!'); }
});