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.Code:<div class="this top_start bottom_stop that"></div>
How does one find the specific class that can change?!
so I'm looking forbut I need the actual name of the class and not the object.Code:$('*[class*="start"]')
I did see something similar to thisbut the class can be in any area and I'm needing to obtain 2 of the multiple classes as well.Code:$('element').attr('class').split(' ').pop();
Any ideas?! Thanks in advance!