views:

102

answers:

1

jQuery

$("#myID").each(function() {
  $(this).dosomething;
});

HTML:

<div id="myID">
 <div class="myClass">content</div>
</div>

How do I access myClass from the function? this>myClass ?

+1  A: 
$(this).children(".myClass")
Arnis L.
Thank you, sir! :)
Nimbuz