I have my HTML setup as follows (IDs are madeup for sake of example):
<div id="selected-area">
<div id="01" class="folder-ready"> </div>
<div id="02" class="folder-ready"> </div>
<div id="03" class="folder-ready"> </div>
<div id="04" class="folder-ready"> </div>
<div id="05" class="folder-ready"> </div>
</div>
What is the simplest method to loop through all child DIVs of selected-area and put each of their IDs into an array?
You can do this way:-
With Array:
Refer LIVE DEMO
UPDATE:
Another way of representation:-
Refer LIVE DEMO 2