What i am doing is a new image uploader, i want to put the input file in the iframe and show the uploaded images in the parent page. So how can i access the parent elements from the inner iframe? or if some one have an example, that will be nice as well.
Share
Frame object .parent will allow you to access the outer, or even document.top. If the two pages are not on the same domain your browser will likely block the script execution as an XSS attack.