Get Class and Apply another class
<p>I have some HTML:</p>

<pre><code>&lt;div id="tagCloud"&gt;
&lt;a class="5" title="1 records" href="tags=Battleship"&gt;Battleship&lt;/a&gt;
&lt;a class="4" title="1 records" href="tags=Cabbage"&gt;Cabbage&lt;/a&gt;
etc...
</code></pre>

<p>I want to take the class value, and convert it to a word.</p>

<p>So if class = 5 append class five?</p>
