showModalDialog call function on parent page
Posted on 2004-08-13
i open a modal dialog and i need to call a function on the parent page. I don't know how to access the parent window though. I've tried several things. opener is undefined. self.parent, window.parent, parent, etc don't work. Its a word processor. The modal dialog get values from the user for a dynamic table and then the function i'm trying to call would insert the table into the editor. i'd much rather be able to call the function from the modal dialog, but if its not possible i need a way to pass the values from the modal dialog back to the parent window. any ideas??