jQuery target div with style
<p>I'm trying to set a background for a div using jQuery:</p>

<pre><code>$(".cover").css("background", "yellow");
</code></pre>

<p>However I keep getting:</p>

<blockquote>
  <p>Uncaught TypeError: Cannot call method 'css' of null </p>
</blockquote>

<p>Also tried with adding an id instead of a class: </p>

<pre><code>$("cover").css("background", "yellow"); 
</code></pre>

<p>but then it says:</p>

<blockquote>
  <p>Uncaught TypeError: Object # has no method 'css' </p>
</blockquote>

<p>Source code: <a href="http://pastebin.com/FEVwL8iq" rel="nofollow">http://pastebin.com/FEVwL8iq</a></p>
