title: jQuery addClass not working
body: <p>I'm trying to use addClass to give me zebra-striped tables on my Joomla template. Im using the following code:</p>
  
  <pre><code> &lt;script&gt;
    jQuery(function($) {
      $("tr:odd").addClass("odd");
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>I've been able to use the tr:odd selector to add css to table rows dynamically, but when i use the addClass function it just doesnt (I checked the source code produced and none of the table rows have the class "odd").</p>
  
  <p>Havn't a clue what I could be doing wrong, would appreciate any help.</p>