How can I add and remove some css from a span with jQuery?
<p>I have the following:</p>

<pre><code>container.removeClass("ui-state-error-icon").removeClass("ui-icon-alert");
container.addClass("ui-state-error-icon").addClass("ui-icon-alert");
</code></pre>

<p>Is there a simple way that I can also add and remove the following CSS?</p>

<pre><code>display: inline-block;
</code></pre>

<p>I looked at the jQuery documentation and found this:</p>

<pre><code>$(this).css("color","red");
</code></pre>

<p>But how would I remove the display parameter?</p>

<p>Thanks</p>
