jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Method setContent() works not correctly from ie 9-11

Open hale01 opened this issue 6 years ago • 4 comments

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

Image

Expected behavior:

Steps to reproduce:

Related code:

insert any relevant code here

Other information:

hale01 avatar Dec 04 '17 08:12 hale01

Thanks for the report, will inspect it soon

craftpip avatar Jan 20 '18 17:01 craftpip

Same here. Any Workaround suggested?

supremedk1 avatar Aug 30 '18 08:08 supremedk1

Use .setContentPrepend() instead (if possible) or reload a new $.alert/$.confirm,...

tinu88 avatar Aug 30 '18 09:08 tinu88

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

PremiumHelp avatar Mar 04 '21 15:03 PremiumHelp