var header = $('.content.clear-block > h3'); var ObjUl = $(''); var list = $('.content.clear-block > li'); list.each(function(i) { var Objli = $('
  • '); Objli.append($(this).html()); ObjUl.append(Objli); }); var place = $('.content.clear-block').find('#place'); place.append(ObjUl); header.remove(); list.each(function(i) { $(this).remove(); });