Hi,
I am stuck with the javascript error for long time. when i tried to pass the window object(self) as the second parameter from window.modalDialog.
When i use local host in the URL, it doesn't cause any error and is able to launch the modal dialogue window without any error. But if i specify the IP address in the address url to launch my web page and click on some button to open up the dialog window, it cause the following javascript error.
"Permission Denied" Lin1 char 40
Parent.aspx
returnVal = window.showModalDialog(exportUrl, self, style);
Child.aspx
<script>window.opener = window.dialogArguments;window.opener.Upd...
I am unable to understand what could be the cause for the security error "Permission Denied! :-( how to get rid of this error??
Please guide me asap.
regards
Tags: