title: How to remove Link And Scripts Element Dynamically
body: <p>Suppose I have a web <a href="http://mayxaydungchina.com" rel="nofollow noreferrer">http://mayxaydungchina.com</a> whose body contents can be dynamically populated using ajax or the <code>Load()</code> method.</p>
  
  <p>How do I remove an existing  to an external css file or an external <code>&lt;script&gt;</code>  file from the head section of my web page?</p>
  
  <p>I thought about using the append and prepend methods but I was thinking that they do not remove the existing link to an external css or an external script file.</p>
  
  <p>I need to remove existing external css and scripts before adding new ones to help make my page load faster.</p>