jquery, targeting a div with a class name
<p>My div is called football, and this works:</p>

<pre><code>$target.appendTo($('#football'));
</code></pre>

<p>But I dont want to hard code it, it needs to be more dynamic, how can I replace 'football' with the class name of the attribute:</p>

<pre><code>$target.attr('class') //football
</code></pre>

<p>Thanks for any help!</p>
