ironhide1975
Programmer
I have an iFrame that is enclosed in a hidden DIV, when a person clicks the SHOW button, the iFrame pops up and shows a selection of files. I want it so when the user clicks on the file in the iFrame it closes the parent page's DIV that contains it. Can anyone show me how to do this?
I think it's something like this
I think it's something like this
Code:
window.parent.nameofdiv.style.display = 'none';