[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-25 Thread Richard Quadling
2009/6/24 Aamchi aman.ra...@googlemail.com: Hi Richard, Your example works perfectly :-) Just a few minor things that I had to change to make it actually work (not being fussy, just if someone else finds this useful as well and wants to try it out): -The this operator didn't work for

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Alex McAuley
...@googlemail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, June 23, 2009 11:19 PM Subject: [Proto-Scripty] Re: Periodical Updater detect content change Thanks, for your response. I'm not 100% sure if I understand correctly what you mean. If I get some data

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Aamchi
script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, June 23, 2009 11:19 PM Subject: [Proto-Scripty] Re: Periodical Updater detect content change Thanks, for your response. I'm not 100% sure if I understand correctly what you mean. If I get some data and generate a hash and write

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Joe
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

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Alex McAuley
AM Subject: [Proto-Scripty] Re: Periodical Updater detect content change I thought of that too. But this only works in forms doesn't it? How do I detect a changed within a div which is reloaded every few seconds? Would you mind sending me an example? Thanks, Aman On 24 Jun., 08:36, Alex McAuley

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Richard Quadling
2009/6/23 Aamchi aman.ra...@googlemail.com: Thanks, for your response. I'm not 100% sure if I understand correctly what you mean. If I get some data and generate a hash and write this to the JSON header and retrieve this when calling onSuccess, how will I still have the previous hash? From

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Aamchi
Thanks Richard, I will try this out. Really appreciate your help! On 24 Jun., 12:12, Richard Quadling rquadl...@googlemail.com wrote: 2009/6/23 Aamchi aman.ra...@googlemail.com: Thanks, for your response. I'm not 100% sure if I understand correctly what you mean. If I get some data and

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Aamchi
Hi Richard, Your example works perfectly :-) Just a few minor things that I had to change to make it actually work (not being fussy, just if someone else finds this useful as well and wants to try it out): -The this operator didn't work for me, I replaced it with o_Updater - In the PHP the

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-23 Thread Richard Quadling
2009/6/23 Aamchi aman.ra...@googlemail.com 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

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-23 Thread Aamchi
Thanks, for your response. I'm not 100% sure if I understand correctly what you mean. If I get some data and generate a hash and write this to the JSON header and retrieve this when calling onSuccess, how will I still have the previous hash? From where will I get this? Won't the updated data