title: wrap() doesn't work well with after()
body: <pre><code>$(".modal-body").after($('.myDiv').wrap('&lt;form&gt;&lt;/form&gt;'));
  </code></pre>
  
  <p>the after method of .myDiv did work but it did not wrapped within ? I also tried like this</p>
  
  <pre><code>$('.myDiv').wrap('&lt;form&gt;&lt;/form&gt;');
  $(".modal-body").after($('.myDiv'));
  </code></pre>
  
  <p>but doesn't worked.</p>
  
  <p>My desired result is my .myDiv wrapped with form tag and been placed after modal.</p>