Click to See Complete Forum and Search --> : Invoking a function from outer frame


mili
08-26-2003, 10:33 AM
I have a page which contains an iframe called "content".Inside my iframe, I have a function called save().
How can I call/invoke this function from my outer frame?

Thanks

AdamBrill
08-26-2003, 10:37 AM
You should be able to use:

top.frames['content'].save();

If the page isn't on your domain, though, you will probably get an "access denied" error...

mili
08-26-2003, 01:08 PM
Thanks Adam :)

AdamBrill
08-26-2003, 01:24 PM
No problem. :) I'm glad I could help.