Ajax: Add new <div> from JSON with jQuery
- by Francesc
Hi, 
In a page I have this HTML code: 
 
<div id="content">
    <div class="container">
        <div id="author">@Francesc</div>
        <div id="message"Hey World!</div
        <div id="time"13/06/2010 11:53 GMT</div
    </div>
    <div class="container">
        <div id="author">@SomeOtherUser</div>
        <div id="message"Bye World!</div
        <div id="time"13/06/2010 14:53 GMT</div
    </div>
    <div class="container">
        <div id="author">@Me</div>
        <div id="message"Hey World!</div
        <div id="time"13/06/2010 18:53 GMT</div
    </div>
</div>
I want to ask, how to get a JSON file, from the server that has more recent messages and put them to the top, I mean above the first <div class="container">.
Another question, it's possible to pass with GET when submiting the request to the server, the time  of last update? How can I do it?
Thanks.