jQuery - find child with a specific class

Viewed 120735

I am trying to write code to search all children for a div that has a specific class. The DIV does not have an ID. Here is the HTML I will be using.

<div class="outerBUBGDiv">
<div class="innerBUBGDiv">
<div class="bgHeaderH2">Technology Group</div>
<div class="bgBodyDiv">
<div align="center">
<img height="33" border="0" width="180" src="/heading.jpg"/>
  /////other stuff here/////
</div>
</div>
</div>

Any ideas how I can get the text inside the div with the class bgHeaderH2.

Thanks in advance.

Comment added, didn't explain this very well initially)

3 Answers
Related