Skip to Content
0
Jun 02, 2005 at 08:30 AM

window.createPopup - Access denied

222 Views

Hi Everyone

When creating an object using the following Javascript:

    var oPopup = window.createPopup();

I try to set the innerHTML of this object using the following Javascript:

    oPopup.document.body.innerHTML = oHistory.innerHTML;

But get an Access denied error when doing this. I know this is because the domain has been relaxed on the main BSP page but does anyone know how I can relax the domain on this new window before creating it?

I am trying to replicate the popup glossary example from the MSDN website:

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/createpopup.asp"> Popup Glossary Definitions

</a>

TIA

Faaiez