title: What is faster - replaceWith or insertAfter (and hiding old element) in jQuery
body: <p>I want to change some elements on the page. (for example I'll change inputs to divs' structures).</p>
  
  <p>What is faster? To do it with replaceWith(). Or to insert div structure after the input, and then hide input?</p>