I am encountering an issue while attempting to access the URL of the parent window from an iFrame. The error message I received on my server is as follows:
Unsafe JavaScript attempt to access frame with URL from frame with URL . The frame being accessed has set 'document.domain' to 'domain.com', but the requesting frame did not. Both frames must have 'document.domain' set to the same value in order to allow access.
Even though I am on the same domain, I am puzzled by why this error is occurring. It is worth noting that everything works perfectly fine on localhost.
Thank you for any assistance provided.