I'm using dynamically created upload fields that are in iframes.
(There is an "add another" button.) After uploading the file in the iframe, the file path is passed back to a hidden field in the form.

The tricky part is passing the data back to the correct hidden field since the name can't be determined ahead of time. Passing the data through $_GET or $_POST data is highly problematic.

So is there a way to find the div that contains the iframe from within the iframe.

Thanks E