I get JavaScript Permission Denied error while trying to call a JS function from the [B]OPENER
I will explain the scenario.
I have a [B]Main [B]Opener
javascript:parent.openWindow(“../loading.aspx?forwardUrl=./Report/Adhoc/Theme/popup.aspx!floor={0}”,”adhoctheme”, “status=no,toolbar=no,directories=no,scrollbars=no,menubar=no,resizable=no,width=950,height=700”)
// Open window is JS function defined in the Main page.
In the [B]popup
The [B]onclick
function refreshFloorPlan()
{
var floorIdEle = document.getElementById(“_floorId”);
if (floorIdEle != null)
{
opener.parent.parent.refreshFloorPlan(floorIdEle.value);
}
}
Please note the domain of all the page is [B]localhost
Could anyone please give me some clue to resolve this issue.
Thanks in advance
– S