• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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