0
Good night, I have a form system, and my client wants to put the form on his website.
His team requested me an iframe for implementation on the portals and web-sites but when I did a test presents the following error:
Securityerror: Blocked a frame with origin "http://meucliente.meudominio.com" from accessing a cross-origin frame.
iframe, is in a test.html file that is running on localhost, every Ajax request works only when I give a Submit in a form that this occurs.
Does anyone know how to solve?
Hi Lucas, I’ve tried using CORS. It’s not the problem, it’s something in iframe security, sandbox something like that.
– Hiago Souza
Nor is an HTTP request of type "Options" to analyze it.
– Hiago Souza
@Hiagosouza, could you explain more about the.html test being in localhost? Your Submit in this case makes a request for which domain?
– Lucas Marques
hello Thanks, but I have already located the problem. The Solution is in the answer I left.
– Hiago Souza