Kcko
4/5/2016 - 11:42 AM

Jquery - replace tag with another

Jquery - replace tag with another

$('li').replaceWith(function(){
  return $("<div />").append($(this).contents());
});