Hi everyone: I want to pass the next function to a rails in my view, because I tried it but the results don´t be succesful. Anyone can help me? I know that Ajax.PeridicalUpdater is periodically_remote call in ruby but don´t know how to put in my view for obtain the same result that the following function. THANKS!!! <script type="text/javascript"> function lastSpy() { var target = $(''imagen''); if (!target) return false; new Ajax.PeriodicalUpdater(target, ''http://localhost:3000/'',{frequency:''0.25''}) } Event.observe(window, ''load'', lastSpy, false); </script> -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.