<h2> background-color is not changing with Jquery?
<p>I have an h2 element with an id of title and I have the following script:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function(){

   $("#title").css("background-color","red");   

)};
&lt;/script&gt;
</code></pre>

<p>The background-color is not changing though and I can't figure out why?</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Table Sorter&lt;/title&gt;
&lt;script type="text/javascript" src="/js/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="/js/jquery.tablsorter.min.js"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
$(document).ready(function(){

$("#title").css("background-color","red");  

)};
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h2 id="title"&gt;Table Sorter&lt;/h2&gt;
&lt;/body&gt;
&lt;/html&gt;

&lt;script type="text/javascript"&gt;
$(document).ready(function()
{
    $("#title").css("background-color","red");
    $("#myTable").tablesorter();
}
);
&lt;/script&gt;
</code></pre>
