This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How to figure out in parent window that iframe content was successfully loaded?

 
Ranch Hand
Posts: 472
Objective C Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should work across of browsers.
I tried .onreadystatechange in IE, however it seems not reliable. Other recommendation are based on setting time out thread which monitors some value which supposed to be set by a script from a loaded page. Unfortunately, my users have attachments with size from 1MB to 8GB, so upload time is varying from 3 seconds to 1 hour and putting 30 minutes time out isn't a solution. Any other ideas? Pinging server using xmlhppt?
 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
onreadystatechange? I thought that was used when making a URL request in javascript. Shouldn't you be using the readyState property of the iframe?
 
reply
    Bookmark Topic Watch Topic
  • New Topic