# When is the AJAX image upload done?

**URL:** <https://forum.kirupa.com/t/when-is-the-ajax-image-upload-done/295623>\
**Category:** web dev\
**Created:** [September 2, 2009, 4:54am UTC](https://forum.kirupa.com/t/when-is-the-ajax-image-upload-done/295623 "2009-09-02T04:54:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [September 2, 2009, 4:54am UTC](https://forum.kirupa.com/t/when-is-the-ajax-image-upload-done/295623/1 "2009-09-02T04:54:03Z")

</div>

I’m using the [typical AJAX image upload setup](http://www.openjs.com/articles/ajax/ajax_file_upload/). I target my form at a hidden iFrame. That iFrame runs runs the PHP, putting the image in the right place. Since this is fake AJAX, I don’t get any onComplete callback. So what’s the best way to check if the iFrame is done with the image processing?
