jquery-confirm
jquery-confirm copied to clipboard
Method setContent() works not correctly from ie 9-11
jquery-confirm version: v3.3.2
I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request [ ] support request
Current behavior: method setContent() works not correctly from ie 9-11. Edge working is normal.
let d = $.alert();
d.setContent('test'); // show empty content
Expected behavior:
Steps to reproduce:
Related code:
insert any relevant code here
Other information:
Thanks for the report, will inspect it soon
Same here. Any Workaround suggested?
Use .setContentPrepend() instead (if possible) or reload a new $.alert/$.confirm,...
Same here,
$.confirm({
title: false,
content: function() {
var self = this;
self.setContent('<div>Sample html</div>');//Not working in IE11
self.setContentAppend('<div>Sample html</div>');//Not working in IE11
self.setContentPrepend('<div>Sample html</div>');//Not working in IE11
},
...
other normal configurations
...
});
Working fine in Chrome, Firefox, Edge. But not in IE11.
Library Demo: https://craftpip.github.io/jquery-confirm/#content-loaded Open in IE, Check confirm box for "Demo content callbacks" button
Thanks