How do I merge two divs with jquery?

<>

This question already has an answer here:

Answers


Combine all HTML into one variable, delete all DIVs but the first one(Unless you want a new tag!, then add combined HTML into the DIV (Or create a new one with the combined HTML).

var combinedHTML = "";
$(".awesome").each(function () {
    combinedHTML += $(this).html();
});

$(".awesome").not(':first').remove();
$(".awesome").html(combinedHTML);

Need Your Help

While do loop in Unix bash shell

bash unix while-loop do-while

I am trying to create a script which loops in for a list of dates in a file and does a certain operation. My code looks as below. I am using bash shell.

Can't change navigation drawer icon color in android

android navigation-drawer

OK, I know this is a trivial issue but for some reason it isn't working for me. I have done a lot of things suggested in other answers but in vain. My drawable folder has white color icons. I even ...