Results 1 to 3 of 3
Aug 31, 2011, 22:46 #1
- Join Date
- Jan 2007
- 1 Post(s)
- 0 Thread(s)
finding the parent of an iframe with jquery
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.