Amit Amit - 1 year ago 94
jQuery Question

find first occurance of class in div

I have the below html structure, i want to find the inner html of first div with class as "popcontent" using jQuery

<div class="popContent">1</div>
<div class="popContent">2</div>

Answer Source

You will kick yourself..... :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download