title: Failed to execute 'appendChild' on 'Node' error thrown when attempting to append a child in jQuery
body: <p>I am trying to append a block of code using jQuery, and end up with the following error:</p>
  
  <p><code>Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.</code></p>
  
  <p>My code is as follows:</p>
  
  <pre><code>&lt;script id=social language="text"&gt;
    &lt;a href="https://www.facebook.com/" target="_blank"&gt;
      &lt;i class="fa fa-lg fa-facebook-f"&gt;&lt;/i&gt;
    &lt;/a&gt;
  &lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
     $('.social').append(document.getElementById('social'));
  &lt;/script&gt;
  
  &lt;div class="col-sm-7 social"&gt;&lt;/div&gt;
  </code></pre>