Hi,
I am loading iFrame with the source from another domain.
There is Access-Control-Allow-Origin: * header
Both js files are included on the parent and iframe pages.
Getting this error:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://veoliawatertechnologies.livevacancies.co.uk’) does not match the recipient window’s origin (‘https://localhost’).
Please help. Urgent.
Thank you very much
Alex
Overcame the problem with the following option: checkOrigin: false,
Most helpful comment
Overcame the problem with the following option: checkOrigin: false,