I have a script that pulls in a bunch of data to my page and parses it out into the following format:
<div id="container"> <div id="myID1" class="new">stuff</div> <div id="myID2" class="new">stuff</div> <div id="myID3" class="read">stuff</div> <div id="myID4" class="read">stuff</div> . . . </div the divs of class new and read are all mixed up when the come into the page. How can I use scriptaculous/protype to automatically sort the div within the container so that divs of class new come first and divs of class 'read' fill in underneath? Scriptaculous wiki is down at the moment so I couldn't check that.. THANKS! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
