How do I copy the attributes of one element to another element?
HTML
$("div").addClass($('#foo').attr('class'));