Forum: Ruby on Rails how to ajax

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7c900f2569b4c1d253280ffc12eabecd?d=identicon&s=25 feng (Guest)
on 2007-04-15 10:49
dear all,

I have a index.rhtml. And the preceding section of this page is a static
html. Such as <h4>"Hello"</h4>.

And the remain section is AJAX function call to a long time work.

I want the page show it's preceding section (static html) first when
user surf it. And after AJAX call complete, it return the result and
display on the remain section.

How can I do it ?  Thanks.

any tips is appreciated.

This topic is locked and can not be replied to.