Skills Loses function After Being Loaded By Ajax

1 reply · opened May 11, 2018

JJakobskjodtMay 11, 2018

Hi

I am loading Pies and Skills through an ajax request.
I know it loses functionality trough ajax, but how do I initialize the plugins. I have tried:

$(document).on('click','btnClick', function() {

$.ajax({
URL: 'getSkills.php',
type: 'POST',
SUCCESS: function(data){
$('#showDiv').html(data);
SEMICOLON.initialize.progress();
}
})

What to do?

Is there a generel method when I initialize other plugins?

Looking forward to hear from you

SSemicolon WebSTAFFMay 28, 2018

Hello,

The code you are trying to use should work fine but since it is not, can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate 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