[jQuery] Referencing elements with 2 or more classes and no Id
My code looks like this:
================================
<div class="a-webResult a-result">
<div class="b-webResult b-result">
<div class="b-title">Title</div>
<div class="b-visibleUrl b-visibleUrl-
short">www.learningjquery.com</div>
<div class="b-visibleUrl b-visibleUrl-long">www.learningjquery.com/
2007/02/</div>
</div>
</div>
================================
I can't modify HTML and need to access elements "b-visibleUrl-short."
Tried:
- $('div[@class*=b-visibleUrl-short]') and
- $("div[class$='b-visibleUrl-short'")
but nothing seems to work.
Any ideas would be appreciated. Thanks!