[jQuery] How to add a class to a tag specified in a variable?

[jQuery] How to add a class to a tag specified in a variable?

Hi

I'm fairly new to both javascript and jquery, so an appoligy in advance if
this is fairly noobish..

My scenario is as following:

I have a table with many rows, each with its own ID and a class. Like so:

<tr id="id1" class="clickable"></tr>
<tr id="id2" class="clickable"></tr>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/