i'm just creating a grid system for responsive web design and my code (simplified) looks like this:
<div id="row1">
<div class="type_3">
</div>
<div class="type_1">
</div>
<div class="type_2">
</div>
<div class="type_2">
</div>
</div>
Now I want to get the names of the classes and the order of the elements, that are direct children of .row1 as an array or string (or similar) in js. The order is very important in this case. Any ideas? Thanks in advance, JBG