Hello All,

I've seen this topic but it seems no one has post a response.  I'm
using periodicalUpdater to display live content queried from a
database.  Sometimes the result can be thousands of rows and before it
finishes processing (displaying as a visual indicator) all the data,
the next request is sent to the server. I'd like to have a
periodicalUpdater whose frequency can be set bases on the size of the
result set.  I've tried to set

onSuccess: function() {
this.frequency = dataSize * 5;
}

While this does change this.frequency, but when I tried to

alert(this.frequency) in subsequent onCreate callback, it remains the
value the PU is initialized with. (and the PU updates according to the
initial frequency).

Is there a way to change frequency in the exposed onSuccess or
onCreate call back?  Or how can I pass the dataSize to the
updateComplete in prototype.js, if that's the way to go?

Thanks for your time.
Debbie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to