Yeah, you could do it with ajax and onload

maybe this is what you are looking for?

http://railsforum.com/viewtopic.php?id=30266



Scott wrote:
> For performance reasons, I need to render a partial asyncronously
> (after the page loads).  I've already isolated the code into a
> partial, but I haven't figured out how to render it after the page
> loads.  Do I have to fire off the onload event in raw javascript?  Any
> ideas how to do this?  It seems like a common problem, but I haven't
> seen any solutions online for this.
> 
> Thanks,
> Scott

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

Reply via email to