View Full Version : Run a parent function from modal dialog
samdesilva
09-08-2003, 04:49 AM
I am trying to run a parent JS function from a modal dialog when the modal dialog is saved. Any thoghts?
Many Thanks
glenngv
09-08-2003, 06:28 AM
you can pass the window reference of the parent in the dialog. Once you get hold of that, you can access the JS function like windowRef.functionName()
http://www.webreference.com/js/column90/8.html
http://www.webreference.com/js/column90/9.html
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.