simple jquery function doesn't work when included in wordpress? help?
<p>I'm replacing class name generated by one of the plugins with mine. I found this easier than fiddling with plugin on every upgrade. Anyways, in WP this simply doesn't do anything! When I test it on non wp (same template xhtml) it works!</p>

<p>what could be the conflict? I have jquery included.</p>

<pre><code>$(document).ready(function(){
    $(".slideright img").removeClass("ngg-singlepic").addClass("cover");
    //$(".ngg-singlepic").addClass("cover");
});
</code></pre>
