Remove Style that was placed with appendTo
<p>I have used <code>.appendTo</code> to place style in the head of my document using the jQuery below:</p>

<pre><code>$("&lt;style type='text/css'&gt; #sb-container{ visibility: visible !important; display: block !important;} #sb-overlay{ opacity: 0.5 !important; } &lt;/style&gt;").appendTo("head");
</code></pre>

<p>This code was fired at the beginning of a function. At the end of the function I would like to remove the style I placed. </p>

<p>How would I go about doing this using jQuery? Perhaps there's a way to toggle the appended code? It will only ever be placed if it is not there, and it will always be removed if it is.</p>
