I am getting a speratic error when running this:
Sometimes the code runs fine, but sometimes it says 'Error: Access is denied.'Code:if (window.opener!=null)
{
TheURL=window.opener.location; //Error happens on this line
}
Printable View
I am getting a speratic error when running this:
Sometimes the code runs fine, but sometimes it says 'Error: Access is denied.'Code:if (window.opener!=null)
{
TheURL=window.opener.location; //Error happens on this line
}
Ok, I figured it out. The popup I am creating has to be in the same domain to access form properties.