I build a guestbook and i want to add the Timeago-plugin from Yarp (http://timeago.yarp.com/).
I have this javascript on the top of the page:
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("abbr.timeago").timeago();
});
</script>
Then i have an While-loop there i publish the text from the database. And on each text i have a DATETIME stored.
<abbr class="timeago" title="<?php echo $Date; ?>"><?php echo $Date; ?></abbr>
So, How do I get it to update the dates?