Getting a specific class name with jQuery
I'm wondering how to achieve gathering a specific class, and only that certain class.
I want to gather ONLY the class that is top_start and bottom_stop. This class can change depending on if a user selects top mid or bottom for each stop or start (9 different combinations). When this is selected it applies the corresponding class to the HTML.
<div class="this top_start bottom_stop that"></div>
How does one find the specific class that can change?!
so I'm looking for
but I need the actual name of the class and not the object.
I did see something similar to this
but the class can be in any area and I'm needing to obtain 2 of the multiple classes as well.
Any ideas?! Thanks in advance! :thumbsup: