Every 5 second once is not understandable. If you want to click a button to update some text, then probably the easiest would be simply to refresh the page with a form and button where the target is an empty string.
Julian. ---------------------------------------------- Blog: http://random8.zenunit.com/ Twitter: http://twitter.com/random8r Learn: http://sensei.zenunit.com/ Latest: How to use Unix basics at http://sensei.zenunit.com/ On 25/05/2009, at 2:21 PM, Sudhi Kulkarni wrote: > > HI, > > I am looking to do something like the following -- "Update a text area > with the content of a file on the server every 5 second once. This > activity should start once the "Run" button on my page is clicked" > > What is the best approach to do this? The file is a log file so no > security concerns. > > Thanks, > Sudhindra > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

