Not sure quite how to describe this but this is what i want to achieve:
$('.class').append($(this).attr("unit"));
but this doesn't append anything, i don't believe that $(this) is the element.
Im not sure how to do this, but if there is a better way like attaching code to an event on a div, but i can't think of any triggers that work on load.