How to get the value of inner div with class name?

The html will look like

 <div class="class1 selected">
 <div class="innerclass">value</div>

in "class1" the class "selected" will come via some condition. So I want to get the value of "innerclass" when "class1" has class "selected". How can I get this value via jquery?

Answers 1

Related Articles