jquery class selector with css() does not seem to work?
<p>When I click the link(Anasayfa), function doesn't work. There is no change. What am I doing wrong?</p>

<pre><code>&lt;script type="text/javascript"
   src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"&gt;
&lt;/script&gt;

&lt;script type="text/javascript" language="javascript"&gt;

        function anasayfa() {
            $( '.gributon1' ) . css({ "background-color": "red"  });
        }
&lt;/script&gt;

....

&lt;div class="gributon1"&gt;&lt;/div&gt;

....

&lt;a href="" onclick="anasayfa()"&gt; Anasayfa &lt;/a&gt;
</code></pre>
