• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • 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?
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!