Forum: Ruby on Rails Checking div generation technique

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bing (Guest)
on 2006-05-19 15:12
Hi guys,

just wanted to ask, on the onset of our page, we generate several div's.
What we noticed on an intermittent connection is that several divs don't
get to generate all the div's sometimes so we had to reload our page.

Would you have any technique on how we can do this?

thanks

bing
Chris H. (Guest)
on 2006-05-19 16:47
(Received via mailing list)
"...that several divs don't get to generate all the div's sometimes..."

huh?

can you be a little more specific?
Bing (Guest)
on 2006-05-20 10:02
Chris H. wrote:
> "...that several divs don't get to generate all the div's sometimes..."
>
> huh?
>
> can you be a little more specific?

Oops, I'm sorry. I was saying that when we load a page after a login, I
need to load around 8 divs. what happens is that when the page gets
loaded and we check the source we see that not all of the divs are
created. Sometimes it's only 6 out of the 8 divs sometimes 5 some times
all 8 load properly. Again, the reason why I think this is the case is
bec of intermittent internet connection.

So what I do is that I need to refresh my page again just to ensure that
all 8 appear.

Is there a way to check that all divs are generated upon page load and
if they don't load, I want it to automatically refresh. This just
happens once. When the page is already completely loaded, I don't need
this function anymore.

thanks,

Bing
This topic is locked and can not be replied to.