I got several divs using classes like
- .wrap-1-addon-1
- .wrap-2-addon-1
- .wrap-3-addon-1
I want to select all of them and use if ( $(this).hasClass() )
to check if its one of them. Currently I only do check for a single class. How can I check all of these, for example .hasClass('wrap-*-addon-1')
?
Best regards.