7
I have 3 Divs:
<div id='pai'>
<div class='produtos' contagem='2'></div>
<div class='produtos' contagem='1'></div>
<div class='produtos' contagem='3'></div>
</div>
I would like to change them so that the Divs with the attribute countdown of greater number to come first (in descending order).
How do I get it so that the numbers of the count I don’t know, IE, they may not be the ones I passed as an example?
Detail: With this method, any listeners of events on this Divs will be lost.
– bfavaretto