Javascript - Add and Remove CSS file with one button
<p>I created a button that ADD CSS file to the page header.
How Can I REMOVE this CSS from the header with the second click on the same button?</p>

<p>Thanks</p>

<pre><code>&lt;script&gt;
$(document).ready(function(){
  $("#myButton").click(function(){
  var ls = document.createElement('link');
  ls.rel="stylesheet";
  ls.href="myCSSfile.css";
  document.getElementsByTagName('head')[0].appendChild(ls);
    });

});
&lt;/script&gt;


&lt;button id="myButton"&gt;Add / Remove&lt;/button&gt;
</code></pre>