- Your HTML is invalid. You cannot have same ID on multiple elements.
Use Classes for assigning the plugin. For example:
$('.contentHolder').perfectScrollbar();
or you can also use .each
loop if it doesn't work. For example:
$('.contentHolder').each(function(){
$(this).perfectScrollbar();
});