Is there a way to find elements using both tag-name and class that starts with. I'm aware that you can do something like:
$(this).find(tag-name.full-class-name)
But how to use the starts-with (^=) in such a way?
i think this is what you are looking for
$("div[class^='apple-'])
it will show classes which start with "apple-"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With