Clear content from modal?

1 reply · opened Apr 27, 2016

JjohnohodApr 27, 2016

I've been trying to clear the content of modal popups on hide. But it doesn't seem to work. I've used:
$('body').on('hidden.bs.modal', '.modal', function () {
$(this).removeData('bs.modal');
});

But I guess it's not regular bootstrap modal? How can I do this?

SSemicolon WebSTAFFApr 28, 2016

Hello,

Can you please provide us with a Live URL so that we can check out the exact issue and also check what kind of Modal you are using on your Page so that we can determine the best possible solution for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard