$(".status").attr("rel");
.status can have up to three other additional classes added to it. .online, .away, .offline
if I do this:
$(".status.online").attr("rel");
it works when status has online as a second class, but not when it's been changed, how can I do this and it not matter what other classes it has?
$(".status").attr("rel");
is the answer to your question. That gets the element no matter what other classes are present. Are you saying you want that element, but only if it ALSO has one of the others?