Here's the scenario: I have a group of elements that each have multiple classes assigned to them. Take a look at this example:
<input class="etape btn-info others">
<input class="etape btn-inverse others">
<input class="etape btn-danger others">
I'm looking for a way to write jQuery code that will help me achieve the following task...
$(".etape").click(function(){
$(this).get("the class that starts with btn-")
// and then save this value in a variable for later use
});