-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> Then for the prototype script on this side to call it
> back again after so much time. If prototype is unable to call the
> scripts back after so much time, please let me know. Can you help?
> Thank you very much.

If you want the script to contact the server on a regular, repeating
interval, you should probably investigate the Ajax.PeriodicalUpdater in
the API.  It will contact the server every specified number of seconds
and then the information that it gathers will be placed in a specified
HTML element on screen.

On the other hand, if you just want to wait a certain quanta of time and
then contact the server once, you're best bet would be to use
setTimeout() to delay the execution of a normal Ajax.Updater object.

Does that help?
 - Dash -

Mike wrote:
> Thanks, I was just getting an event undefined from the last part that
> confused me.
> 
> OK, I understand where your headed now, sounds like the concept I
> need. Trouble is I don't know how to complete the events on this side
> of the send. I could get someone else to help me on how to set up the
> action page on the other side to execute the script being sent. But
> this side....   I have been reading up on prototype for weeks now and
> have tried many things but I don't know what I'm doing. If you or
> someone who knows how to do this can help me get these completes,
> successes, or event observes on this side working, I can pay 20.00
> plus a page full of good links that may help you with some things.
> 
> On this side I would need the script in the form to send without a
> page refresh. Then for the prototype script on this side to call it
> back again after so much time. If prototype is unable to call the
> scripts back after so much time, please let me know. Can you help?
> Thank you very much.
> 
> 
> 
> > 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKSjc6r+BYsa3/iMRCOngAKDB3iXl3t8UtuTr0w3QdJi8RZoKfwCfd96u
Wn+kLlXtx0AkkiYBctiIohs=
=5uij
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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