Hi,
In a page I have this HTML code:
<div id="content">
<div class="container">
<div class="author">@Francesc</div>
<div class="message">Hey World!</div>
<div class="time">13/06/2010 11:53 GMT</div>
</div>
<div class="container">
<div class="author">@SomeOtherUser</div>
<div class="message">Bye World!</div>
<div class="time">13/06/2010 14:53 GMT</div>
</div>
<div class="container">
<div class="author">@Me</div>
<div class="message">Hey World!</div>
<div class="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.