I'm currently using jquery .html for DOM insertion. Is there a way I can insert multiple elements?
So far I have tried using && or even using a comma inserting multiple elements but none of them seems to be feasible. Separating it would also likely not work.
$('#header .aim-breadcrumbs').html($('.layout-container .region-breadcrumb') && $('#header .aim-nav .connect'));
$('#header .aim-breadcrumbs').html($('.layout-container .region-breadcrumb', '#header .aim-nav .connect');
$('#header .aim-breadcrumbs').html($('.layout-container .region-breadcrumb');
$('#header .aim-breadcrumbs').html($('#header .aim-nav .connect');
.append()not.html(), and you need to specify elements, not just a list of classes and/or IDs.html()will override the previous one if you want multiple then this is not the correct to use. try.append()