Hope this helps. Ajax/Prototype/JSON PeriodicalUpdater: A working example – log update on a background process
http://joekuan.wordpress.com/2009/06/22/ajaxprototypejson-periodicalupdater-a-working-example-log-update-on-a-background-process-part-12/ On Jun 23, 3:20 pm, Aamchi <[email protected]> wrote: > Hi, > > I was wondering if Ajax.PeriodicalUpdater can detect if content has > changed since the last update and if so trigger an event. > > So for example I have a scoreboard which fetches data every 5 seconds > and displays this. I would be cool if there could be some kind of > notification if content had changed. I know that the new content is > stores in responseText but how can I compare it to the previous > content... > > Thanks, > Aman --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
