I have a list of elements that have multiple classes, for example:
You can use Regular Expression or split the class name.
split
$(".etape").click(function(){ var classes = $.grep(this.className.split(" "), function(v, i){ return v.indexOf('btn') === 0; }).join(); });
http://jsfiddle.net/LQPh6/