Posted by Noozer on 05/25/05 19:30
I have an IFRAME (yes I know that frames are evil) that is made visible when
the user needs to edit some values in a database. Once the user had
completed the edit, or cancels the edit, I would like the IFRAME to become
invisible again. The reason for the iframe is that this ASP page contains a
rather large SQL query that we would avoid rerunning when the user edits
some data.
It's easy to make the frame visible as this code is included in the parent
document, but the code to hide the IFRAME again will be in the IFRAME
document. How can the child IFRAME hide itself? Or, in other words, how can
the child IFRAME reference the parent document to change it's style?
Thx!
[Back to original message]
|